Archive for February, 2010

Error creating products: PHP Warning: move_uploaded_file(name.JPG)

Sunday, February 14th, 2010

The full error message is:

PHP Warning: move_uploaded_file(name.JPG) [<a href=’function.move-uploaded-file’>function.move-uploaded-file</a>]: failed to open stream: Permission denied in …oscdir…/admin/includes/classes/upload.php on line 84

Proved to be a kind of intermediate permissions error. Goes away like other permissions problems with 777 insecure settings. To give the web server write access on Hostroute, you need owner set to cpanel user, group set to nobody and write permissions to both. You have to get Hostroute support to set group nobody, as it’s not permitted from the account shell access even when that’s turned on.

This exact error was after group was set to nobody but it only had read access; change permissions in ftp program.

This relates to install instructions:

Error creating products: PHP Warning: file_exists()

Thursday, February 11th, 2010

The full error message is:

PHP Warning: file_exists() [<a href=’function.file-exists’>function.file-exists</a>]: open_basedir restriction in effect. File(/usr/bin/convert) is not within the allowed path(s): (…actual settings removed…) in …oscdir…/admin/includes/applications/products/actions/save.php on line 23

It turns out just to be a configuration error. Osc 3.0A5 defaults to Imagemagick for image processing with the path set to /usr/bin/convert. Delete this in program locations to make the error go away. See

Hello world!

Saturday, February 6th, 2010

Time to move from notes on scrappy bits of paper to a medium that I can find again; useful hints and tips, problems and resolutions so that I can repeat installations and design solutions for other clients.

At some point, I may even configure WordPress, but the cobbler’s children are always the last to get new shoes.