[3rd party plg?] v2.0.2 error saving items 1st save attempt

More
11 years 6 months ago #36563 by ggppdk
Will check this,
do you have any content marked as english language ?


-- 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...

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

More
11 years 6 months ago #36567 by grabit
No

An Apple a days keeps the doctor away

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

More
11 years 6 months ago #36582 by ggppdk
Hello,
these notices are from frontend template loading of template specific language files,


just before line 2820:
$language_tag = $languages->$user_lang->code;
add:
Code:
if (!isset($languages->$user_lang->code)) return;

I will commit this fix , but it is not related to item form

This notice occurs because visitor is setting English language in url or in his browser or because your site default language is english (which in our case is not) )
-- the above code will check if the user language exists in your site

-- With error 500 you should get some ERROR TEXT, do you get any ?

Regards


-- 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...

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

More
11 years 6 months ago #36602 by grabit
Hi George,

I added the line but then the FC control panel is white. I removed the line and it is working again.

Maybe because we are using english for the backend.

Why you think that the error is caused in the frontend? the referer is admin/index.php.

The error 500 is the basic one as pasted on my message at the beginning of this thread.

Thanks

An Apple a days keeps the doctor away

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

More
11 years 6 months ago #36603 by grabit
George,

I made a test by changing my backend language to french instead of english.

A lot of errors went off but some are still there.

By the way since you changed something in the flexitwitter plugin, every time we save an item it is tweeted (not really nice :P ).

Here is a dump of the errors
Code:
[Thu May 02 12:00:35 2013] [warn] [client 213.219.183.163] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_RETURN in /var/www/vhosts/imaginefilm.be/httpdocs/components/com_flexicontent/classes/flexicontent.helper.php on line 2820 [Thu May 02 12:00:37 2013] [error] [client 81.83.10.21] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/imaginefilm.be/httpdocs/index.pl [Thu May 02 12:00:38 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_RETURN in /var/www/vhosts/imaginefilm.be/httpdocs/components/com_flexicontent/classes/flexicontent.helper.php on line 2820 [Thu May 02 12:00:53 2013] [warn] [client 208.115.111.71] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_RETURN in /var/www/vhosts/imaginefilm.be/httpdocs/components/com_flexicontent/classes/flexicontent.helper.php on line 2820 [Thu May 02 12:00:59 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_RETURN in /var/www/vhosts/imaginefilm.be/httpdocs/components/com_flexicontent/classes/flexicontent.helper.php on line 2820, referer: http://www.imaginefilm.be/administrator/index.php [Thu May 02 12:01:07 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_RETURN in /var/www/vhosts/imaginefilm.be/httpdocs/components/com_flexicontent/classes/flexicontent.helper.php on line 2820, referer: http://www.imaginefilm.be/administrator/index.php [Thu May 02 12:01:15 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Parse error: syntax error, unexpected T_RETURN in /var/www/vhosts/imaginefilm.be/httpdocs/components/com_flexicontent/classes/flexicontent.helper.php on line 2820, referer: http://www.imaginefilm.be/administrator/index.php [Thu May 02 12:06:27 2013] [error] [client 81.83.10.21] File does not exist: /var/www/vhosts/imaginefilm.be/httpdocs/templates/yoo_subway/css/background/gradientgray.css [Thu May 02 12:06:27 2013] [error] [client 81.83.10.21] File does not exist: /var/www/vhosts/imaginefilm.be/httpdocs/templates/yoo_subway/styles/red [Thu May 02 12:06:36 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jpath in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 11, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:06:36 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jversion in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 14, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:06:36 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jversion in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 17, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:06:36 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jpath in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 17, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:06:36 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined variable: autreTags in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter.php on line 144, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:06:36 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined variable: autreTags in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter.php on line 144, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:07:23 2013] [warn] [client 173.192.79.101] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [error] [client 173.192.79.101] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [warn] [client 50.16.51.20] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [warn] [client 23.22.39.206] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [warn] [client 74.112.131.244] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [warn] [client 199.59.149.166] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [error] [client 74.112.131.244] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [error] [client 199.59.149.166] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [warn] [client 199.59.149.166] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [warn] [client 23.22.39.206] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [warn] [client 46.236.24.52] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:23 2013] [error] [client 46.236.24.52] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [error] [client 23.22.39.206] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [error] [client 23.22.39.206] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [error] [client 199.59.149.166] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:23 2013] [error] [client 50.16.51.20] Premature end of script headers: index.php [Thu May 02 12:07:27 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:27 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:28 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:28 2013] [warn] [client 173.192.79.101] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 173.192.79.101] Premature end of script headers: index.php [Thu May 02 12:07:27 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:28 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:29 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:25 2013] [warn] [client 81.83.10.21] mod_fcgid: read data timeout in 45 seconds, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:07:29 2013] [error] [client 81.83.10.21] Premature end of script headers: index.php, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:07:26 2013] [warn] [client 54.241.198.78] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 54.241.198.78] Premature end of script headers: index.php [Thu May 02 12:07:28 2013] [warn] [client 23.20.214.123] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:29 2013] [error] [client 23.20.214.123] Premature end of script headers: index.php [Thu May 02 12:07:53 2013] [warn] [client 74.112.131.242] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:07:53 2013] [error] [client 74.112.131.242] Premature end of script headers: index.php [Thu May 02 12:08:16 2013] [warn] [client 74.112.131.245] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:08:16 2013] [error] [client 74.112.131.245] Premature end of script headers: index.php [Thu May 02 12:08:23 2013] [warn] [client 74.112.131.241] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:08:23 2013] [error] [client 74.112.131.241] Premature end of script headers: index.php [Thu May 02 12:08:28 2013] [warn] [client 81.83.10.21] mod_fcgid: read data timeout in 45 seconds, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:08:28 2013] [error] [client 81.83.10.21] Premature end of script headers: index.php, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid[]=188 [Thu May 02 12:08:28 2013] [warn] [client 109.88.39.45] mod_fcgid: read data timeout in 45 seconds [Thu May 02 12:08:28 2013] [error] [client 109.88.39.45] Premature end of script headers: index.php [Thu May 02 12:12:26 2013] [error] [client 166.78.4.75] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/imaginefilm.be/httpdocs/index.pl [Thu May 02 12:13:25 2013] [error] [client 81.83.10.21] File does not exist: /var/www/vhosts/imaginefilm.be/httpdocs/templates/yoo_subway/css/background/gradientgray.css [Thu May 02 12:13:25 2013] [error] [client 81.83.10.21] File does not exist: /var/www/vhosts/imaginefilm.be/httpdocs/templates/yoo_subway/styles/red [Thu May 02 12:13:30 2013] [error] [client 81.83.10.21] File does not exist: /var/www/vhosts/imaginefilm.be/httpdocs/administrator/templates/bluestork/css/general.css, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&view=itemelement&tmpl=component&langparent_item=1 [Thu May 02 12:13:32 2013] [error] [client 81.83.10.21] File does not exist: /var/www/vhosts/imaginefilm.be/httpdocs/administrator/templates/bluestork/css/general.css, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&view=itemelement&tmpl=component&object= [Thu May 02 12:13:47 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jpath in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 11, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid=188 [Thu May 02 12:13:47 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jversion in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 14, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid=188 [Thu May 02 12:13:47 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jversion in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 17, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid=188 [Thu May 02 12:13:47 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined index: jpath in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter/config.php on line 17, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid=188 [Thu May 02 12:13:47 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined variable: autreTags in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter.php on line 144, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid=188 [Thu May 02 12:13:47 2013] [warn] [client 81.83.10.21] mod_fcgid: stderr: PHP Notice: Undefined variable: autreTags in /var/www/vhosts/imaginefilm.be/httpdocs/plugins/flexicontent_fields/twitter/twitter.php on line 144, referer: http://www.imaginefilm.be/administrator/index.php?option=com_flexicontent&task=items.edit&cid=188

An Apple a days keeps the doctor away

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

More
11 years 6 months ago #36609 by ggppdk
Hello,
the previous code was missing a parenthesis:

Please replace it with
Code:
if (!isset($languages->$user_lang->code)) return;


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.323 seconds
Save
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