Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001927 [CubeCart v5] Admin Control Panel minor always 2010-01-21 03:14 2010-04-28 14:01
Reporter goober View Status public  
Assigned To martin
Priority normal Resolution fixed  
Status closed   Product Version 5.0.0 Beta 1
Summary 0001927: Fatal error: Cannot redeclare class licence in D:\inetpub\v5mods\beta1\base51\admin_enc_ion.php on line 205
Description Fatal error: Cannot redeclare __autoload() (previously declared in /Applications/XAMPP/xamppfiles/htdocs/CC5/includes/functions.inc.php:3) in /Applications/XAMPP/xamppfiles/htdocs/CC5/includes/functions.inc.php on line 19


Fixed this error by changing line 29 (admin.php):

From:
require 'includes'.CC_DS.'functions.inc.php';

To:
require_once 'includes'.CC_DS.'functions.inc.php';


This gave a new error...

Fatal error: Cannot redeclare class licence in /Applications/XAMPP/xamppfiles/htdocs/CC5/admin_enc_ion.php on line 205
Additional Information
Tags No tags attached.
Browser Firefox 3.5
Install Method Clean Install
MySQL Version 5.1.x
PHP Version 5.2.x
Server OS Windows
Skins (V5)
Attached Files ? file icon ini.inc.php [^] (4,866 bytes) 2010-02-02 14:50

- Relationships
has duplicate 0001960closedmartin White page when trying to access to admin. Same as 0001954. 

-  Notes
(0003217)
goober (reporter)
2010-01-21 04:22

After I switch to Zend I get this
Fatal error: Cannot redeclare class licence in D:\inetpub\v5mods\beta1\base\admin_enc_zend.php on line 104008592
(0003218)
homar (reporter)
2010-01-21 09:13

I also get "Fatal error: Cannot redeclare __autoload()" when attempting to access the admin area.
User avatar (0003227)
martin (developer)
2010-01-25 09:57
edited on: 2010-01-25 09:58

Please try the updated version of functions.inc.php attached to this report

User avatar (0003236)
al (administrator)
2010-01-25 15:32

Are you both using Windows with XAMMP?
(0003239)
goober (reporter)
2010-01-25 19:00

Martin,

No change with the updated functions.inc.php file. Error below:


Fatal error: Cannot redeclare class licence in D:\inetpub\v5mods\beta1\base\admin_enc_ion.php on line 205

I am using Windows with Apache 2.2.14, no XAMMP

Compatibility Check
PHP 5.2.3+ - 5.2.5
MySQL 4.1+ - 5.1.42
GD Image Library - Installed
IonCube PHP Loader - Installed
Zend Optimizer - Not Installed

Optional Features

APC - Not Installed
bz2 - Installed
cURL - Installed
eAccelerator - Not Installed
EXIF - Not Installed
FileInfo - Not Installed
Hash - Not Installed
mCrypt - Not Installed
memcache - Not Installed
XCache - Not Installed
XDebug - Not Installed
ZIP - Installed
(0003248)
homar (reporter)
2010-01-26 22:32
edited on: 2010-01-26 22:34

I have tried with both MAMP and XAMPP on Mac OSX (Unix). Also with both PHP 5.2.11 and 5.3.0. Strange one this. I tried playing around with both the functions.inc.php and admin.php file to no avail. The classes don't appear to be loading.

User avatar (0003273)
martin (developer)
2010-02-01 14:59

Does this still happen with beta 2?
(0003274)
homar (reporter)
2010-02-01 15:15
edited on: 2010-02-01 15:18

We are unable to tell since the backend returns a blank page.

Edit: I've just seen the proposed fix in the other report. Though I'll be unable to give it a go until later this week. Perhaps someone else can give it a go until then?

(0003275)
goober (reporter)
2010-02-01 20:42

please see http://bugs.cubecart.com/view.php?id=1960 [^]

Although the error now DOES NOT appear in the browser, we now get blank screen, The error DOES appear in the apache error logs
User avatar (0003277)
martin (developer)
2010-02-02 14:50

Please upload the attached ini.inc.php file to the root of your store, this should solve the problem
(0003279)
goober (reporter)
2010-02-02 22:39

I am Free at last!
I am Free at last!
Thank God All mighty, I am Free at last!!!

It works!!!! it works!!! it really works!

Thanks!

- Issue History
Date Modified Username Field Change
2010-01-21 03:14 goober New Issue
2010-01-21 03:14 goober Browser => Firefox 3.5
2010-01-21 03:14 goober Install Method => Clean Install
2010-01-21 03:14 goober MySQL Version => 5.1.x
2010-01-21 03:14 goober PHP Version => 5.2.x
2010-01-21 03:14 goober Server OS => Windows
2010-01-21 04:22 goober Note Added: 0003217
2010-01-21 09:13 homar Note Added: 0003218
2010-01-25 09:57 martin File Added: functions.inc.php
2010-01-25 09:57 martin Note Added: 0003227
2010-01-25 09:58 martin Note Edited: 0003227
2010-01-25 14:36 martin Target Version => 5.0.0 Beta 2
2010-01-25 15:32 al Note Added: 0003236
2010-01-25 19:00 goober Note Added: 0003239
2010-01-26 09:12 robix Issue Monitored: robix
2010-01-26 22:32 homar Note Added: 0003248
2010-01-26 22:34 homar Note Edited: 0003248
2010-01-28 09:53 martin Target Version 5.0.0 Beta 2 => 5.0.0 Beta 3
2010-02-01 14:59 martin Note Added: 0003273
2010-02-01 15:15 homar Note Added: 0003274
2010-02-01 15:18 homar Note Edited: 0003274
2010-02-01 20:42 goober Note Added: 0003275
2010-02-01 20:42 goober Issue Monitored: goober
2010-02-02 09:13 martin Relationship added has duplicate 0001960
2010-02-02 13:57 martin Status new => assigned
2010-02-02 13:57 martin Assigned To => martin
2010-02-02 14:37 martin File Deleted: functions.inc.php
2010-02-02 14:50 martin Note Added: 0003277
2010-02-02 14:50 martin File Added: ini.inc.php
2010-02-02 22:39 goober Note Added: 0003279
2010-02-03 09:21 martin Status assigned => resolved
2010-02-03 09:21 martin Fixed in Version => 5.0.0 Beta 3
2010-02-03 09:21 martin Resolution open => fixed
2010-04-28 14:01 martin Status resolved => closed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker