Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001201 [CubeCart v4] Admin Control Panel minor have not tried 2008-09-04 07:59 2009-10-26 10:36
Reporter estelle View Status public  
Assigned To al
Priority normal Resolution fixed  
Status closed   Product Version 4.2.3
Summary 0001201: Rebuild of database fails when there is an image in a subfolder
Description In classes/filemanager.class.php these two lines strip any folder names which means that when gd() is called it is passed an incorrect filename and it falls over.

$thumbPath = imgPath(basename($file), true, 'root');
$masterPath = imgPath(basename($file), false, 'root');

Change to:

$thumbPath = imgPath($file, true, 'root');
$masterPath = imgPath($file, false, 'root');
Additional Information
Tags No tags attached.
Browser N/A
Install Method N/A
MySQL Version Unknown
PHP Version Unknown
Server OS Unknown
Skin
Attached Files

- Relationships

-  Notes
(0002443)
up3Group (reporter)
2008-09-04 11:12

Confirming the Fix, Thanks Estelle.
(0002477)
convict (reporter)
2008-10-20 02:50

This has been already fixed in 0001175
User avatar (0002485)
al (administrator)
2008-11-04 14:16

Thanks Estelle.

- Issue History
Date Modified Username Field Change
2008-09-04 07:59 estelle New Issue
2008-09-04 07:59 estelle PHP Version => Unknown
2008-09-04 07:59 estelle MySQL Version => Unknown
2008-09-04 07:59 estelle Install Method => N/A
2008-09-04 07:59 estelle Server OS => Unknown
2008-09-04 07:59 estelle Browser => N/A
2008-09-04 11:12 up3Group Note Added: 0002443
2008-10-20 02:50 convict Note Added: 0002477
2008-11-04 14:16 al Status new => resolved
2008-11-04 14:16 al Fixed in Version => 4.2.4
2008-11-04 14:16 al Resolution open => fixed
2008-11-04 14:16 al Assigned To => al
2008-11-04 14:16 al Note Added: 0002485
2009-06-05 16:46 martin Status resolved => closed
2009-10-26 10:36 martin Target Version => 4.3.5


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker