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

More
3 years 3 months ago #108032 by georgebradford
georgebradford created the topic: Issue: Host updating PHP to 5.5 - Is there an easy fix?
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

Please Log in to join the conversation.

More
3 years 3 months ago #108033 by c_schmitz
c_schmitz replied the topic: Issue: Host updating PHP to 5.5 - Is there an easy fix?
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

Please Log in to join the conversation.

More
3 years 3 months ago #108102 by georgebradford
georgebradford replied the 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

Please Log in to join the conversation.

More
3 years 3 months ago #108109 by c_schmitz
c_schmitz replied the topic: Issue: Host updating PHP to 5.5 - Is there an easy fix?
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

Please Log in to join the conversation.

More
3 years 3 months ago #108326 by georgebradford
georgebradford replied the 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);

Please Log in to join the conversation.

More
3 years 3 months ago #108328 by georgebradford
georgebradford replied the 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

Please Log in to join the conversation.

More
3 years 3 months ago #108425 by jelo
jelo replied the topic: Issue: Host updating PHP to 5.5 - Is there an easy fix?
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.

Please Log in to join the conversation.

More
3 years 3 months ago #108448 by georgebradford
georgebradford replied the 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

Please Log in to join the conversation.

More
3 years 3 months ago #108449 by jelo
jelo replied the topic: Issue: Host updating PHP to 5.5 - Is there an easy fix?
The linked thread is about PHP 5.3? Not PHP 5.5 as mentioned here. So I thought these were two different issues. Sorry.

Please Log in to join the conversation.

More
3 years 3 months ago #108503 by georgebradford
georgebradford replied the 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

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now