Log in   Register a New Account

Accessify Forum - Independent Accessibility Discussion Since 2003; Professional, Moderated, Web-based, Archived

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

image upload

Reply with quote Hi there.. I have xstandard (full version) set up on a clients site and it all works well apart from the web service for uploading images. To cut it short it is trying to upload to a folder that is actually the file name. http://myurl/imagename.jpg

It is saying permissions aren’t set.

I am wanting to upload the images to a folder called images… Anyone know where it’s going wrong?

Cheers
Wazza

Warren
Premtech Web Design
http://www.premtech.com.au
Reply with quote For the PHP version (which we use) you need to edit the imagelibrary.php file and set the constants defined there to match your particular needs.

For example ours has this for the main library folder:

Code:
define("XS_LIBRARY_FOLDER", "/www/cwv2/images"); // The folder where received files/folders should be saved.


Also be sure that the temporary locations defined in the file are world readable and writeable.

HTH.

Dan Champion, Champion IS, Mooch Marketing, Revish
Reply with quote Thanks heaps for that…

Cheers
warren

Warren
Premtech Web Design
http://www.premtech.com.au
Reply with quote I have since found that my web server has now changed to php safe mode. Now it wont let me upload images again…any tips for safe mode?

Warren
Premtech Web Design
http://www.premtech.com.au
Reply with quote Is chmod possible?
Reply with quote
premtech wrote:
…any tips for safe mode?


If PHP is running in Safe Mode, in php.ini, include the path to temp folder and library folder in ‘safe_mode_include_dir’ directive. You may also need to grant apache user ownership of the temp folder.

Vlad Alexander
XStandard Development Team
http://xstandard.com

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic