gas-orm
gas-orm copied to clipboard
With Gas ORM showing blank page.
Hello All,
I am facing a serious issue. I had just completed a project with Gas ORM and Codeigniter. Everything is working on my local system and staging server. When I moved the project to Client server there came a serious issue. All pages are loading fine which are not linked to database. But as soon as we try to access something related to database its just showing a blank page. For example if we try to search in home page or try to login it will show blank page with no errors.
This is the link - http://www.preapprovedrenters.com
White trying to search from home page it will show blank page.
Codeigniter version - 2.1.4 Our server is having - php - 5.3.3 version. mysql - 5.5
Client server is having - php - 5.3.3 version. mysql - 5.1
From server error log file I am getting below outputs.
[Mon Dec 15 16:24:11 2014] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!? [Mon Dec 15 16:24:11 2014] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Mon Dec 15 16:24:11 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations [Mon Dec 15 16:25:03 2014] [notice] SIGHUP received. Attempting to restart [Mon Dec 15 16:25:03 2014] [notice] Digest: generating secret for digest authentication ... [Mon Dec 15 16:25:03 2014] [notice] Digest: done [Mon Dec 15 16:25:03 2014] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'. [Mon Dec 15 16:25:03 2014] [error] python_init: Python executable found '/usr/bin/python'. [Mon Dec 15 16:25:03 2014] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'. [Mon Dec 15 16:25:03 2014] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Mon Dec 15 16:25:03 2014] [notice] mod_python: using mutex_directory /tmp
I also changed Gas ORM query to normal Codeigniter query in one function. And its working fine. So clearly its not any issue with codeigniter. But only with Gas ORM. Whenever there is a query with Gas ORM code, its not showing any error , just showing blank page. If I need to change all Gas ORM query to normal Codeigniter query it will take huge amount of time.
So Is the GAS ORM needs mysql version to be 5.5 ?? But in documentation its not written. Or else what could be the problem can anyone tell ?
Try to enable your PHP error report, so you could investigate the exception being thrown. My guess is your PHP version on your server are too low since you're mentioning that its works fine on your local.
hi , toopay. As I have written in my issue - Both client server and my staging server are having php 5.3.3 version. But in Client server mysql is 5.1 and in our server mysql is 5.5. So I don't think its php version issue. I will check error report and post here once I get it.
Thanks for your reply.