| Anonymous | Login | Signup for a new account | 2010-09-09 22:29 BST |
| Main | Bug Tracker | View Issues | Change Log | Roadmap | Docs |
| 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 |
|
||||||||
|
|
|||||||||
Relationships |
||||||
|
||||||
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. |
|
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 |
|
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. |
|
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 |
|
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! |
| Copyright © 2000 - 2008 Mantis Group |