Post by discoverytdi » Mon Jan 13, 2014 2:14 am

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

https://www.rvsolar.co.uk/


User avatar
New member

Posts

Joined
Fri Feb 17, 2012 6:43 am
Location - sunny lancashire UK

Post by butte » Mon Jan 13, 2014 3:54 am

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.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by discoverytdi » Mon Jan 13, 2014 5:36 am

butte 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.
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 result

https://www.rvsolar.co.uk/


User avatar
New member

Posts

Joined
Fri Feb 17, 2012 6:43 am
Location - sunny lancashire UK

Post by butte » Mon Jan 13, 2014 6:37 am

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.]
Last edited by butte on Sat Jan 18, 2014 12:49 am, edited 1 time in total.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by discoverytdi » Mon Jan 13, 2014 8:25 am

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.)
Been with my host for over 5 years never any issues in fact they are really good.
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

https://www.rvsolar.co.uk/


User avatar
New member

Posts

Joined
Fri Feb 17, 2012 6:43 am
Location - sunny lancashire UK

Post by butte » Mon Jan 13, 2014 8:56 am

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.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by discoverytdi » Mon Jan 13, 2014 10:37 pm

Thanks for that will make the changes you suggested.
Peter

https://www.rvsolar.co.uk/


User avatar
New member

Posts

Joined
Fri Feb 17, 2012 6:43 am
Location - sunny lancashire UK

Post by netrover » Sun Feb 23, 2014 8:51 am

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.

Newbie

Posts

Joined
Thu Feb 05, 2009 4:41 am

Post by butte » Sun Feb 23, 2014 1:58 pm

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.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by RRGalvan » Sat Mar 01, 2014 11:36 am

I installed 1.5.6.1 and can't get to my Admin. I get this:

Fatal error: Class 'Openbay' not found in /home/content/33/9457933/html/add1test/admin/index.php on line 143

Any idea on how to fix that or what may be causing it?

Newbie

Posts

Joined
Tue Apr 02, 2013 4:44 am

Post by butte » Sun Mar 02, 2014 10:43 am

It cannot find in your /system/ your system library class file for openbay. Try uploading /system/ anew.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by tickledpink » Wed Apr 16, 2014 3:49 am

I had the same problem. You need to switch to PHP 5.3 and everything will work :)

Newbie

Posts

Joined
Thu Jul 21, 2011 4:34 am

Post by Pstar » Mon Jun 16, 2014 3:35 pm

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?

Newbie

Posts

Joined
Mon May 05, 2014 3:39 pm

Post by cwswebdesign » Mon Jun 16, 2014 11:12 pm

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?
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).

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!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by Pstar » Tue Jun 17, 2014 1:48 pm

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?

Newbie

Posts

Joined
Mon May 05, 2014 3:39 pm

Post by cwswebdesign » Tue Jun 17, 2014 9:34 pm

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?
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.

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!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by Pstar » Wed Jun 18, 2014 3:17 am

it shows PHP version 5.4.28 on my server running....

Newbie

Posts

Joined
Mon May 05, 2014 3:39 pm

Post by cwswebdesign » Wed Jun 18, 2014 9:02 am

Pstar wrote:it shows PHP version 5.4.28 on my server running....
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'

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by stfuhr » Wed Jun 25, 2014 10:10 pm

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

Newbie

Posts

Joined
Wed Jun 25, 2014 10:05 pm

Post by dreanmer » Sat Jun 28, 2014 3:15 am

i fixed it updating my php from 5.3 to 5.4

Newbie

Posts

Joined
Fri Jan 04, 2013 4:00 am
Who is online

Users browsing this forum: No registered users and 5 guests