Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001929 [CubeCart v5] Admin Control Panel major always 2010-01-21 09:44 2010-03-23 10:08
Reporter www_UKwins_co_uk View Status public  
Assigned To martin
Priority normal Resolution fixed  
Status closed   Product Version 5.0.0 Beta 1
Summary 0001929: Fatal Error getLanguage() on a non-object - when Logging into Admin
Description The following error occurs when logging into admin:

Fatal error: Call to a member function getLanguage() on a non-object in /hsphere/local/home/greenwelly/thehamperstop.co.uk/classes/gui.class.php on line 356

Prior to this - the store looks fine with no errors.
however - After logging in and getting the error message above and I then visit the front page of the site it shows these errors in the footer:

Warning: preg_match() expects parameter 2 to be string, object given in /hsphere/local/home/greenwelly/thehamperstop.co.uk/classes/database.class.php on line 291

Catchable fatal error: Object of class Language could not be converted to string in /hsphere/local/home/greenwelly/thehamperstop.co.uk/classes/database.class.php on line 622

Additional Information
Tags No tags attached.
Browser Firefox 3.5, IE 8
Install Method Clean Install
MySQL Version 5.0.x
PHP Version 5.2.x
Server OS Linux/Unix
Skins (V5)
Attached Files ? file icon database.class.php [^] (29,336 bytes) 2010-01-25 12:03
? file icon gui.class.php [^] (12,420 bytes) 2010-01-25 12:40

- Relationships

-  Notes
User avatar (0003229)
martin (developer)
2010-01-25 12:03

Please upload the attached file as classes/database.class.php
this should resolve the issue
(0003230)
www_UKwins_co_uk (reporter)
2010-01-25 12:19

Issue still persists.
Fatal error: Call to a member function getLanguage() on a non-object in /hsphere/local/home/greenwelly/thehamperstop.co.uk/classes/gui.class.php on line 356
User avatar (0003231)
martin (developer)
2010-01-25 12:40

Please try the attached gui.class.php file too
(0003232)
www_UKwins_co_uk (reporter)
2010-01-25 12:48

now getting the following error:
Fatal error: Call to a member function getLanguage() on a non-object in /hsphere/local/home/greenwelly/thehamperstop.co.uk/admin_enc_ion.php on line 229
(0003252)
supercoop (reporter)
2010-01-27 17:50

I am getting the same message, any update?
(0003253)
www_UKwins_co_uk (reporter)
2010-01-27 21:20

Supercoop - I think it's being dealt with to be released/updated in Beta 2
User avatar (0003257)
martin (developer)
2010-01-29 10:10

Have you upgraded to beta 2? If so, does it fix this problem?
(0003259)
www_UKwins_co_uk (reporter)
2010-01-29 10:15

It certainly has fixed the getLanguage() problem for the store front.
however (as per note on 0001953) it won't allow me to get into the admin area after logging in - just a blank page.
(0003260)
www_UKwins_co_uk (reporter)
2010-01-29 10:16

sorry - also meant to say I completed a clean install of beta 2.

- Issue History
Date Modified Username Field Change
2010-01-21 09:44 www_UKwins_co_uk New Issue
2010-01-21 09:44 www_UKwins_co_uk Browser => Firefox 3.5, IE 8
2010-01-21 09:44 www_UKwins_co_uk Install Method => Clean Install
2010-01-21 09:44 www_UKwins_co_uk MySQL Version => 5.0.x
2010-01-21 09:44 www_UKwins_co_uk PHP Version => 5.2.x
2010-01-21 09:44 www_UKwins_co_uk Server OS => Linux/Unix
2010-01-21 09:44 www_UKwins_co_uk Skin => Classic
2010-01-22 09:10 www_UKwins_co_uk Issue Monitored: www_UKwins_co_uk
2010-01-25 12:03 martin File Added: database.class.php
2010-01-25 12:03 martin Note Added: 0003229
2010-01-25 12:19 www_UKwins_co_uk Note Added: 0003230
2010-01-25 12:40 martin File Added: gui.class.php
2010-01-25 12:40 martin Note Added: 0003231
2010-01-25 12:48 www_UKwins_co_uk Note Added: 0003232
2010-01-25 14:36 martin Target Version => 5.0.0 Beta 2
2010-01-27 17:50 supercoop Note Added: 0003252
2010-01-27 21:20 www_UKwins_co_uk Note Added: 0003253
2010-01-28 09:53 martin Target Version 5.0.0 Beta 2 => 5.0.0 Beta 3
2010-01-29 10:10 martin Note Added: 0003257
2010-01-29 10:15 www_UKwins_co_uk Note Added: 0003259
2010-01-29 10:16 www_UKwins_co_uk Note Added: 0003260
2010-01-29 10:29 martin Status new => resolved
2010-01-29 10:29 martin Fixed in Version => 5.0.0 Beta 2
2010-01-29 10:29 martin Resolution open => fixed
2010-01-29 10:29 martin Assigned To => martin
2010-03-23 10:08 martin Status resolved => closed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker