Just tried to install OC 1.5.6.1 and got these errors nothing showed up during install, thought it was my host playing up so installed OC 1.5.6 no problems
Notice: Trying to get property of non-object in /home1/elcmsco1/public_html/site name/index.php on line 52
Notice: Trying to get property of non-object in /home1/elcmsco1/public_html/site name/index.php on line 61
Warning: Invalid argument supplied for foreach() in /home1/elcmsco1/public_html/site name/index.php on line 61
Notice: Trying to get property of non-object in /home1/elcmsco1/public_html/site name/index.php on line 69
stumped
Notice: Trying to get property of non-object in /home1/elcmsco1/public_html/site name/index.php on line 52
Notice: Trying to get property of non-object in /home1/elcmsco1/public_html/site name/index.php on line 61
Warning: Invalid argument supplied for foreach() in /home1/elcmsco1/public_html/site name/index.php on line 61
Notice: Trying to get property of non-object in /home1/elcmsco1/public_html/site name/index.php on line 69
stumped
no it was a fresh install after installation all I got was the white screen of death and just the search box of the template funny enough and the message posted. I ran the install 3 times same resultbutte wrote:Did 1.5.6.1 work otherwise? If not, then how did it misbehave? Many Notices and Warnings can be ignored. Those sprang into view or into logs. Fatal error is fairly obvious, the thing dies. Those don't declare death.
Then on one server, and cleanly installed, 1.5.6.0 works but 1.5.6.1 fails. OC is server sensitive, but evidently even 1.5.6.0 takes in stride something that trips 1.5.6.1, so the question turns to that.
From control panel.-- Operating system, and its version or distribution? Versions of php.exe and mysql.exe? Values of mem, post_max_size, upload_max_size, in php.ini? All of php safe_mode, magic_quotes, [register_globals] OFF? Running mysql or mysqli extension(s) (those are on the server, not in OC)? Can you choose php.exe version to run (if so go for 5.3.x). Is webserver Apache (which does not matter), IIS (which), or nyngix (which)? Shared or dedicated address, shared or dedicated server (not same as prior), VPS? If cloud, which (EC2, RedHat, which other)? SSL, and properly installed?
"Free hosting"? (Hope not.)
[Note edit here to correct global_variables to register_globals -- reverse appears in quote in next post.]
From control panel.-- Operating system, and its version or distribution? Versions of php.exe and mysql.exe? Values of mem, post_max_size, upload_max_size, in php.ini? All of php safe_mode, magic_quotes, [register_globals] OFF? Running mysql or mysqli extension(s) (those are on the server, not in OC)? Can you choose php.exe version to run (if so go for 5.3.x). Is webserver Apache (which does not matter), IIS (which), or nyngix (which)? Shared or dedicated address, shared or dedicated server (not same as prior), VPS? If cloud, which (EC2, RedHat, which other)? SSL, and properly installed?
"Free hosting"? (Hope not.)
[Note edit here to correct global_variables to register_globals -- reverse appears in quote in next post.]
Last edited by butte on Sat Jan 18, 2014 12:49 am, edited 1 time in total.
Been with my host for over 5 years never any issues in fact they are really good.butte wrote:Then on one server, and cleanly installed, 1.5.6.0 works but 1.5.6.1 fails. OC is server sensitive, but evidently even 1.5.6.0 takes in stride something that trips 1.5.6.1, so the question turns to that.
From control panel.-- Operating system, and its version or distribution? Versions of php.exe and mysql.exe? Values of mem, post_max_size, upload_max_size, in php.ini? All of php safe_mode, magic_quotes, global_variables OFF? Running mysql or mysqli extension(s) (those are on the server, not in OC)? Can you choose php.exe version to run (if so go for 5.3.x). Is webserver Apache (which does not matter), IIS (which), or nyngix (which)? Shared or dedicated address, shared or dedicated server (not same as prior), VPS? If cloud, which (EC2, RedHat, which other)? SSL, and properly installed?
"Free hosting"? (Hope not.)
here's my server set up
Server Information
Server Host: just64.justhost.com (173.254.28.64) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.32-20130307.60.9.bh6.x86_64 Database: MySQL 5.5.35-log
Server Date: 12/01/2014 17:20:51 Database Date: 12/01/2014 17:20:51
Server Up Time: Disabled/Unavailable HTTP Server: Apache
PHP Version: 5.4.22 (Zend: 2.4.0) PHP Memory Limit: 128M PHP Safe Mode: Off
PHP File Uploads: On Max Size: 10M POST Max Size: 10M
Database Data Size: 745 kB Database Index Size: 533 kB
For the time being memory limit = 128M is okay, but if you use an export/import tool you may want to elevate it (in 2x steps). The post_max_size is supposed to be at least slightly larger than upload_max_size, and the 10M for each of those is way low, so amend those to post_max_size = 999M and upload_max_size = 998M. If you can set your choice of php.exe version, drop down to 5.3.x (5.4.x prevented some people from even running OC when bluehost upgraded to that a while back). If not, ask support if your account can run 5.3.x rather than 5.4.22.
Perhaps the two mere 10M entries in combination with 5.4.22 caused the problem with 1.5.6.1, so if you make those changes (or as many of the few as you can), then retry, you might find it working.
The pair of php.ini files in OC can be counterproductive if they reduce values that a server already provides. If a server ignores them, then values can often still be reset in the host control panel. Next step is to ask support if need be.
Perhaps the two mere 10M entries in combination with 5.4.22 caused the problem with 1.5.6.1, so if you make those changes (or as many of the few as you can), then retry, you might find it working.
The pair of php.ini files in OC can be counterproductive if they reduce values that a server already provides. If a server ignores them, then values can often still be reset in the host control panel. Next step is to ask support if need be.
Hi, I am having exactly the same error messages on a new install.
the server is a 1and1 server.
I have a previous store installed without problems on the same server and opencart is version 1.5.5.1 and works fine.
I have just installed a new installation for another site with version 1.5.6.1 and have got all the errors listed above in the previous post showing at the top of the website.
also at the bottom of the site is error: Fatal error: Call to a member function get() on a non-object in /homepages/index.php on line 103
php version is 5.4 and earlier versions don't seem to be available on 1and1.
Can these problems be fixed? or will I have to run the out of date opencart used on my other website? I would prefer to run the latest version without problems.
the server is a 1and1 server.
I have a previous store installed without problems on the same server and opencart is version 1.5.5.1 and works fine.
I have just installed a new installation for another site with version 1.5.6.1 and have got all the errors listed above in the previous post showing at the top of the website.
also at the bottom of the site is error: Fatal error: Call to a member function get() on a non-object in /homepages/index.php on line 103
php version is 5.4 and earlier versions don't seem to be available on 1and1.
Can these problems be fixed? or will I have to run the out of date opencart used on my other website? I would prefer to run the latest version without problems.
You're not alone, note http://forum.opencart.com/viewtopic.php?f=20&t=119305. Are you using mysql or mysqli? There's a mysqli library change by rph, and there's a different mysqli extension in the store.
The quickest way to find out is to email your hosting company. Otherwise, you can find it in your hosting control panel (on the left hand column if it's cPanel).Pstar wrote:I had the same problem... How can i find the version of php & Mysql in my website? I use 1.5.6.3 opencart version... could you help me?
You can also follow these instructions and make sure you delete the file after you get the info you're looking for:
http://wiki.simplemachines.org/smf/Phpi ... that,_then
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Thanks my friend... but it shows php version in cpanl not php version my oencart... because i have problem in my website... there are errors...
(/public_html/system/engine/controller.php on line 28Warning
public_html/system/engine/controller.php on line 29
........)
I think they don't match (php version in my opencart and php version in cpanel)
could you help me more?
(/public_html/system/engine/controller.php on line 28Warning
public_html/system/engine/controller.php on line 29
........)
I think they don't match (php version in my opencart and php version in cpanel)
could you help me more?
There isn't a 'php version in your Opencart' ever. PHP is run on the server side and allows you to run various php scripts on the server.Pstar wrote:Thanks my friend... but it shows php version in cpanl not php version my oencart... because i have problem in my website... there are errors...
(/public_html/system/engine/controller.php on line 28Warning
public_html/system/engine/controller.php on line 29
........)
I think they don't match (php version in my opencart and php version in cpanel)
could you help me more?
Which version does it show your server running?
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
Just to confirm, you're running Opencart v1.5.6.x? If so, open up both config files and change DB_DRIVER from 'mysql' to 'mysqli'Pstar wrote:it shows PHP version 5.4.28 on my server running....
DL
This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.
Thanks!
I have a Hostgator Reseller account and use CPanel and I just loaded Opencart for the very first time as well and got the same error.
My fix:
I logged into CPanel
In the 'Advanced' section I chose 'PHP Configuration
There is a dropdown with different versions of PHP - I chose PHP Cur (5.4)
Saved
Refreshed the site and bam - all is well.
Hope that helps.
Scott
My fix:
I logged into CPanel
In the 'Advanced' section I chose 'PHP Configuration
There is a dropdown with different versions of PHP - I chose PHP Cur (5.4)
Saved
Refreshed the site and bam - all is well.
Hope that helps.
Scott
Who is online
Users browsing this forum: No registered users and 6 guests