Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Issue: Host updating PHP to 5.5 - Is there an easy fix?

  • georgebradford
  • georgebradford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #108032 by georgebradford
Hi Everyone,

My domain host is updating their platform to PHP 5.5, and I see that if I do a ComfortUpdate to 2.05, I'll be ok in PHP 5.3. (I am currently at 2.00+ Build 131031.)

My question to you all is, will LS 2.05 work with PHP 5.5, or will I need to make any other adjustments?

If I do have to make any adjustments, can you point me to what I'll need to do?

Thank you for any help!

-George
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
10 years 6 months ago #108033 by c_schmitz
It should be working fine in 5.5
If you see anyhing strange let us know.

Best regards

Carsten Schmitz
LimeSurvey project leader
The following user(s) said Thank You: georgebradford
The topic has been locked.
  • georgebradford
  • georgebradford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #108102 by georgebradford
Replied by georgebradford on topic Issue: Host updating PHP to 5.5 - Is there an easy fix?
Hi c-schmitz and the LimeSurvey team,

I just performed the 3-click comfort update, and at each step, all seemed well. At this time, I'm able to create a test environment of my PHP version, so I moved it from 5.2 up to 5.5. With 5.5 active, I get an internal server error (500). With 5.3 active, I don't get the internal server error, but I don't get the log in page.

Any ideas?

Thanks,

-George
The topic has been locked.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
10 years 6 months ago #108109 by c_schmitz
Internal server error(500) can be anything, same for the login page problem. Check your server logs for more information.

Also try to activate the debug mode in application/config/config.php and see if you get a more detailed error.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • georgebradford
  • georgebradford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #108326 by georgebradford
Replied by georgebradford on topic Issue: Host updating PHP to 5.5 - Is there an easy fix?
I activated the debug mode, and below is the result. Can you see what's wrong or what I need to adjust (I'm sorry, I cannot see where the mistake is)? Would you need the full report?

Trying to get property of non-object

/fakepath/framework/db/ar/CActiveRecord.php(658)

--Highlighted lines follow (in sequence)--

658 return $this->getMetaData()->tableSchema;

39 $plugin = Plugin::model()->findByAttributes(array('name'=>'Authdb'));

099 return parent::runWithParamsInternal($this, $oMethod, $params);

169 return parent::run($action);
The topic has been locked.
  • georgebradford
  • georgebradford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #108328 by georgebradford
Replied by georgebradford on topic Issue: Host updating PHP to 5.5 - Is there an easy fix?
And here are the last log entries:

[06-May-2014 23:11:26 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
[06-May-2014 23:11:26 America/Chicago] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[06-May-2014 23:11:26 America/Chicago] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
The topic has been locked.
More
10 years 6 months ago #108425 by jelo
Have you found a solution?

If not: Are you using Cpanel?
Your provider may have to finetune a few things after switching to PHP 5.5 via EasyApache.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • georgebradford
  • georgebradford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #108448 by georgebradford
Replied by georgebradford on topic Issue: Host updating PHP to 5.5 - Is there an easy fix?
Hi Jelo,

Sorry for not replying sooner. Yes, I was able to resolve the problem and I posted under a different thread.

Please see this thread:

www.limesurvey.org/en/forum/installation...en-problem-unplugged

Best,

-George
The topic has been locked.
More
10 years 6 months ago #108449 by jelo
The linked thread is about PHP 5.3? Not PHP 5.5 as mentioned here. So I thought these were two different issues. Sorry.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • georgebradford
  • georgebradford's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #108503 by georgebradford
Replied by georgebradford on topic Issue: Host updating PHP to 5.5 - Is there an easy fix?
Hi jelo,

Originally, my host indicated they were updating the environment to PHP 5.5, but when I noticed the LimeSurvey support is for 5.3, I convinced my host to reset my domain to 5.3, so that I could remain functional until I knew LS would be happy in 5.5.

Hopefully this clarifies things a bit.

Best,

-George
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose