Forums

Error with PHP 5.4

Psykopathik 23 Jul, 2014
Hello,

I have a... little problem🙂

Chronoform works perfectly on Joomla 3.3 / PHP 5.3
But... since on PHP 5.4, i meet an error when i try to create a new form or edit one.


Warning: Illegal string offset 'text' in /home/***/www/libraries/cegcore/libs/arr.php(56) : eval()'d code on line 1
Warning: Illegal string offset 'position' in /home/***/www/libraries/cegcore/libs/arr.php(56) : eval()'d code on line 1
[...]
Warning: Illegal string offset 'text' in /home/***/www/libraries/cegcore/libs/arr.php(56) : eval()'d code on line 1
Warning: Illegal string offset 'position' in /home/***/www/libraries/cegcore/libs/arr.php(56) : eval()'d code on line 1

Fatal error: Method name must be a string in /home/***/www/libraries/cegcore/libs/model.php on line 1287


And, I can't stay at PHP 5.3, because I need PHP 5.4.
And, I would not like to hide PHP error.

I try on many differents servers, and i have always the same problem with PHP 5.4

Do you have an idea how to fixe it ?

(sorry for my bad english - i'm french)
Max_admin 23 Jul, 2014
Hi Psykopathik,

When exactly do you get these errors ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Psykopathik 24 Jul, 2014


But... since on PHP 5.4, i meet an error when i try to create a new form or edit one.



When I try to create a new form (or edit a form), I click on save button and... blank page with this error.
Max_admin 25 Jul, 2014
Hi Psykopathik,

I have tested this on php 5.4 and there is no problem, please try to redownload the latest v5 and install it OVER yours and try again, let me know how this works!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Psykopathik 26 Jul, 2014
Hi,

Yes, I already tried many times.
I tested on 3 differents servers (so 3 installation of Joomla).

And same error😟

Do you "allowed php error" on your test ?
Max_admin 26 Jul, 2014
Did you redownload the installer ? the Fatal error you receive is really strange and was not reported before, I checked it and there is no reason for this error to occur unless some file has been edited or corrupted, so please try to redownload

or try a different php 5.4 version ? its not logical to get a fatal error after upgrading php
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 13 Aug, 2014
Some user reported the same issue, and solved it by reinstalling Chronoforms!

I think that they have restarted the server as well, but please try to redownload and reinstall only first!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
erix 25 Sep, 2014
Hello,

I had the same error with PHP 5.4.30 Joomla 3.3.3 and CF 5.0.2, white page and impossible to change the form code. So after research i've read your diffrent answers and upload again the component, After redowload and reinstall I have the green message about database. I try to change the form code and I have this message (attached file)

[attachment=0]2014-09-25_03h19_18.png[/attachment]

If I click on cancel I have my form again but impossible to change something in it, always the same error message.
Have any idea ?
Thx for answers
Max_admin 25 Sep, 2014
Do you have the latest update installed ?

This may be some server security setting resetting the post data when they exceed a specific number, please check with your host admin or check the server log.

Please try also to update any of the demo forms included, same problem ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
erix 25 Sep, 2014

Do you have the latest update installed ?



Yes I do, redownloaded this night (to be sure)


This may be some server security setting resetting the post data when they exceed a specific number, please check with your host admin or check the server log.



Ok I will ask to my server admin


Please try also to update any of the demo forms included, same problem ?



I clic on the "demos" button to have them because there are not presnet and if I try to update I have the same error
Fatal error: Method name must be a string in /home/snipforpf/www/proto/libraries/cegcore/libs/model.php on line 1287


Thx for your Answers Max
erix 25 Sep, 2014

This may be some server security setting resetting the post data when they exceed a specific number, please check with your host admin or check the server log.



Here are the logs :

[Thu Sep 25 01:35:04 2014] [error] [client 10.0.55.86] [host proto.snipf.org] (9)Bad file descriptor: failed to stat mapfile, referer: http://proto.snipf.org/administrator/index.php?option=com_jce&view=profiles
[Thu Sep 25 03:15:19 2014] [error] [client 78.246.237.245] [host domain.tld] (104)Connection reset by peer: FastCGI: comm with server "/xxx/xxx/www/recette/administrator/index.php" aborted: read failed, referer: http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1
[Thu Sep 25 03:15:19 2014] [error] [client 78.246.237.245] [host domain.tld] FastCGI: incomplete headers (0 bytes) received from server "/xxx/xxx/www/recette/administrator/index.php", referer: http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1
[Thu Sep 25 03:15:19 2014] [error] [client 78.246.237.245] [host domain.tld] FastCGI: An error happend on Fastcgi processing, fallback to CGI, referer: http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1
[Thu Sep 25 03:15:53 2014] [error] [client 78.246.237.245] [host domain.tld] (104)Connection reset by peer: FastCGI: comm with server "/xxx/xxx/www/recette/administrator/index.php" aborted: read failed, referer: http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1
[Thu Sep 25 03:15:53 2014] [error] [client 78.246.237.245] [host domain.tld] FastCGI: incomplete headers (0 bytes) received from server "/xxx/xxx/www/recette/administrator/index.php", referer: http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1
[Thu Sep 25 03:15:53 2014] [error] [client 78.246.237.245] [host domain.tld] FastCGI: An error happend on Fastcgi processing, fallback to CGI, referer: http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1


and the second part is :


xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:02 +0200] "GET /administrator/index.php?option=com_chronoforms5&cont=installer HTTP/1.1" 302 26 "http://domain.tld/administrator/index.php?option=com_installer" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/index.php?option=com_chronoforms5 HTTP/1.1" 200 6977 "http://domain.tld/administrator/index.php?option=com_installer" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /libraries/cegcore/assets/css/datatable/default.css HTTP/1.1" 200 20 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /libraries/cegcore/assets/css/system_messages.css HTTP/1.1" 200 365 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /libraries/cegcore/assets/bootstrap/css/bootstrap.css HTTP/1.1" 200 18444 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /libraries/cegcore/assets/images/enabled.png HTTP/1.1" 200 563 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/templates/isis/css/template.css?aba28533fc88e45e314f3921527b84e5 HTTP/1.1" 200 27042 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/templates/isis/js/template.js?aba28533fc88e45e314f3921527b84e5 HTTP/1.1" 200 782 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/validate.png HTTP/1.1" 200 1208 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/settings.png HTTP/1.1" 200 1824 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/delete_cache.png HTTP/1.1" 200 1088 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/demos.png HTTP/1.1" 200 1052 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/action.png HTTP/1.1" 200 1412 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/restore.png HTTP/1.1" 200 3730 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:03 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/database_table.png HTTP/1.1" 200 1043 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:04 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/backup.png HTTP/1.1" 200 4111 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:04 +0200] "GET /libraries/cegcore/assets/images/toolbar/remove.png HTTP/1.1" 200 986 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:04 +0200] "GET /administrator/components/com_chronoforms5/chronoforms/assets/images/copy.png HTTP/1.1" 200 984 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:04 +0200] "GET /libraries/cegcore/assets/images/toolbar/add.png HTTP/1.1" 200 1487 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:09 +0200] "GET /administrator/index.php?option=com_chronoforms5&act=edit&id=1 HTTP/1.1" 200 73813 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:18 +0200] "POST /administrator/index.php?option=com_chronoforms5&act=save&save_act=apply HTTP/1.1" 200 62244 "http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:20 +0200] "GET /libraries/cegcore/assets/css/system_messages.css HTTP/1.1" 304 - "http://domain.tld/administrator/index.php?option=com_chronoforms5&act=save&save_act=apply" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:36 +0200] "GET /administrator/index.php?option=com_chronoforms5 HTTP/1.1" 200 6940 "http://domain.tld/administrator/index.php?option=com_chronoforms5&act=save&save_act=apply" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:41 +0200] "GET /administrator/index.php?option=com_chronoforms5&act=edit&id=1 HTTP/1.1" 200 73813 "http://domain.tld/administrator/index.php?option=com_chronoforms5" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:15:52 +0200] "POST /administrator/index.php?option=com_chronoforms5&act=save HTTP/1.1" 200 62244 "http://domain.tld/administrator/index.php?option=com_chronoforms5&act=edit&id=1" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"
xx.xx.xx.xx domain.tld - [25/Sep/2014:03:20:56 +0200] "GET /administrator/index.php HTTP/1.1" 200 6715 "http://domain.tld/administrator/index.php?option=com_chronoforms5&act=save" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36"


Hope it helps
Thx for taking time to answer
erix 26 Sep, 2014
No answers since 3 days, how can I solve my problem ? :s
GreyHead 27 Sep, 2014
Hi erix,

Please try contacting Max using the Contact Us menu above and linking to this thread.

I've looked at the error message and the code where it is happening but don't have any idea what might be causing it.

Bob
This topic is locked and no more replies can be posted.