PDA

View Full Version : PHPShop drives me Crazy!!


molski
January 9th, 2005, 11:21
I have Mambo 451 and the newest edition of phpshop (complete package) insalled on my SME Server v6.0.1-01 (based on RH7.3).
This is my PHP version:

PHP 4.3.8 (cli) (built: Jul 19 2004 19:30:39)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


When I add a product in the shop and want to add an image (or thumbnail) to the shop, it returns with this message:

Error: Cannot read uploaded thumbnail image temp file. \n One common reason for this that the upload path cannot be accessed because of the open_basedir settings in the php.ini .
Error: Cannot read uploaded full image temp file. \n One common reason for this that the upload path cannot be accessed because of the open_basedir settings in the php.ini .


In my php.ini open_basedir is left blank, my /tmp dir. has filerights 777 and uploading files, components, modules, images ALL works.
Only image-uploading in the shop does not work!
What the hell can be going on....help needed here very badly ;)


Regards,

Molski

allstar
March 17th, 2005, 02:51
I have Mambo 451 and the newest edition of phpshop (complete package) insalled on my SME Server v6.0.1-01 (based on RH7.3).
This is my PHP version:

PHP 4.3.8 (cli) (built: Jul 19 2004 19:30:39)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


When I add a product in the shop and want to add an image (or thumbnail) to the shop, it returns with this message:

Error: Cannot read uploaded thumbnail image temp file. \n One common reason for this that the upload path cannot be accessed because of the open_basedir settings in the php.ini .
Error: Cannot read uploaded full image temp file. \n One common reason for this that the upload path cannot be accessed because of the open_basedir settings in the php.ini .


In my php.ini open_basedir is left blank, my /tmp dir. has filerights 777 and uploading files, components, modules, images ALL works.
Only image-uploading in the shop does not work!
What the hell can be going on....help needed here very badly ;)


Regards,

Molski

I had this problem too.

Try copying this file into the following directory on your web server:

administrator/components/com_phpshop/classes

I changed it to bypass some of the checks within mambo-phpshop and it allows me to upload product images.

Chris
www.leadingedgehosting.co.uk

molski
March 17th, 2005, 02:55
Thanks Chris,

I will keep this file on my server, but at this moment I don't need it anymore.
After a PHP update and also moving the website from the testserver to the production server solved my problems.

Regards,

Molski

stormlord
March 21st, 2005, 07:42
thx allstar it work fine now.

Fatal error
January 27th, 2006, 00:43
invalid image/x-citrix-pjpeg thats what i get maybe cuz im on citrix shitty those tabs aint working now... im gonna stick with the old one becouse i dont get any advantage with this

b-tommy
January 29th, 2006, 02:44
@allstar

Than you very much. You have solved a very serious problem for me :-)

Best regards

Thomas