Start Publishing Date

More
13 years 7 months ago #27059 by jeffhoneyager
When I add or edit an item, the "Start Publishing" date is changed to a time in the future. I have the global config time zone correct as UTC -05:00.

After adding or editing, I have to manually change the start publishing date in order to view the item on the front end.

Using ver. 1.5.4 (r558)

What should I do to correct this?

Thank you.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #27062 by ggppdk
Replied by ggppdk on topic Start Publishing Date
The item submit user is in the same timezone as the item viewing user?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #27068 by jeffhoneyager
Replied by jeffhoneyager on topic Start Publishing Date
During testing phase - the item submitter is me. And will be the same timezone as the user when it goes live.

Is there code I can change somewhere to say...

Set Start Publishing date to (submit time/date) - 24 hours.

Then the start publishing time/date would be yesterday.

Thanks again.

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #27080 by ggppdk
Replied by ggppdk on topic Start Publishing Date
Please try the latest v1.5.6 revision for J1.5
(NOTE that v2.0 is for J2.5 and has the same features as J1.5 plus ACL, in J1.5 you need FLEXIaccess for ACL):

code.google.com/p/flexicontent/downloads/list


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #27121 by jeffhoneyager
Replied by jeffhoneyager on topic Start Publishing Date
How do I upgrade to 1.5.6?

I couldn't get the 1.5.6 version to install.

1) uninstalled 1.5.4
2) installed 1.5.6 (db errors)then:

JInstaller::install: SQL Error. DB function failed with error number 2006
MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` ( `catid` int(11) NOT NULL default '0', `itemid` int(11) NOT NULL default '0', `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`catid`,`itemid`), KEY `catid` (`catid`), KEY `itemid` (`itemid`) ) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;
SQL =

CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` (
`catid` int(11) NOT NULL default '0',
`itemid` int(11) NOT NULL default '0',
`ordering` int(11) NOT NULL default '0',
PRIMARY KEY (`catid`,`itemid`),
KEY `catid` (`catid`),
KEY `itemid` (`itemid`)
) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;

Component Install: SQL error or missing or unreadable SQL file. DB function failed with error number 2006
MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` ( `catid` int(11) NOT NULL default '0', `itemid` int(11) NOT NULL default '0', `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`catid`,`itemid`), KEY `catid` (`catid`), KEY `itemid` (`itemid`) ) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;
SQL =

CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` (
`catid` int(11) NOT NULL default '0',
`itemid` int(11) NOT NULL default '0',
`ordering` int(11) NOT NULL default '0',
PRIMARY KEY (`catid`,`itemid`),
KEY `catid` (`catid`),
KEY `itemid` (`itemid`)
) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;

Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering

Then trying to access the site (front/back):
Warning: require_once(/home/marshall/public_html/components/com_flexicontent/helpers/route.php) [function.require-once]: failed to open stream: No such file or directory in /home/marshall/public_html/plugins/system/flexisystem.php on line 135

Fatal error: require_once() [function.require]: Failed opening required '/home/marshall/public_html/components/com_flexicontent/helpers/route.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/marshall/public_html/plugins/system/flexisystem.php on line 135

Please Log in or Create an account to join the conversation.

More
13 years 7 months ago #27122 by ggppdk
Replied by ggppdk on topic Start Publishing Date
It seems your server time-out during installation

delete via FTP the flexicontent system plugins:
plugins/system/flexisystem.php
plugins/system/flexiadvroute.php

This will get you back access to your site

Do not try to uninstall FLEXIcontent

Try reinstalling v1.5.6, if it fails again then redelete flexicontent plugins via FTP and try installing v1.5.5 or v1.5.4


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #27372 by jeffhoneyager
Replied by jeffhoneyager on topic Start Publishing Date
Back using 1.5.4 - Can you direct me on the documentation to upgrade from 1.5.4 to the latest version?

Do you know if in fact 1.5.6 will fix the problem with the publish_up date?

To recap.

Adding and editing an item on the back end - the "Start Publishing" date (i.e. jos_content.publish_up) works fine.

Adding and editing an item on the front end - the "Start Publishing" date is set to current date + 4 hours. So the item is not published.

If you can guide me to the file and code so I can check it out and/or a mod. I have hunted for the code but can't seem to find where the date is stored in the variable.

Thank you.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #27376 by ggppdk
Replied by ggppdk on topic Start Publishing Date
Yes, the timezone issue is fixed in v1.5.6 , and further more in all views the publish up time is compared to UTC time instead of user local time, so the item becomes worldwide available at the time the author specified, instead of becoming gradually available as it is done in v1.5.4


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #27445 by micker
Replied by micker on topic Start Publishing Date
to upgrade safely
do a backup with akeeba
install in tour computer
install flexicontent
test and adpat your tempkate
do a backup
install your backup in your domaine
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #27538 by jeffhoneyager
Replied by jeffhoneyager on topic Start Publishing Date
1) Backed Up site using Akeeba
2) Restored the site (using Akeeba installer)
3) Tested the restored site
4) Installed (com_flexicontent_v1.5.6_RC5_r1338.tar)

Received this:
JInstaller::install: SQL Error. DB function failed with error number 2006
MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` ( `catid` int(11) NOT NULL default '0', `itemid` int(11) NOT NULL default '0', `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`catid`,`itemid`), KEY `catid` (`catid`), KEY `itemid` (`itemid`) ) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;
SQL =

CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` (
`catid` int(11) NOT NULL default '0',
`itemid` int(11) NOT NULL default '0',
`ordering` int(11) NOT NULL default '0',
PRIMARY KEY (`catid`,`itemid`),
KEY `catid` (`catid`),
KEY `itemid` (`itemid`)
) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;

Component Install: SQL error or missing or unreadable SQL file. DB function failed with error number 2006
MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` ( `catid` int(11) NOT NULL default '0', `itemid` int(11) NOT NULL default '0', `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`catid`,`itemid`), KEY `catid` (`catid`), KEY `itemid` (`itemid`) ) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;
SQL =

CREATE TABLE IF NOT EXISTS `jos_flexicontent_cats_item_relations` (
`catid` int(11) NOT NULL default '0',
`itemid` int(11) NOT NULL default '0',
`ordering` int(11) NOT NULL default '0',
PRIMARY KEY (`catid`,`itemid`),
KEY `catid` (`catid`),
KEY `itemid` (`itemid`)
) ENGINE=MyISAM CHARACTER SET `utf8` COLLATE `utf8_general_ci`;

Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering

Any ideas?

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save