close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

iRite image upload issues on LOCALHOST

Thread began 8/25/2009 2:39 pm by sandy170299 | Last modified 8/27/2009 8:39 pm by Eric Mittman | 1269 views | 3 replies |

sandy170299

iRite image upload issues on LOCALHOST

I'm putting together a demo using iRite and PHP, but it's not on the web anywhere - it's only running on my local machine. When I try to browse for a file, I get the following error:

XML request error: OK (200)

I've edited config.php and I thought I followed all of the instructions, but it's not working.

Can you tell me what's missing? Here is the code I edited in config.php

global $Config ;

// SECURITY: You must explicitly enable this "connector". (Set it to "true").
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
// authenticated users can access this file or use some kind of session checking.
$Config['Enabled'] = true ;


// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/userfiles/' ;

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = 'c:\\xampp\\htdocs\\PHP_CMS\\userfiles\\' ;

Sign in to reply to this post

Eric Mittman

The settings you are using look like they should work. One thing that I notice is that the userfiles is set at the root of the site, if the root goes to your htdocs then you should make sure to update it so it is like this:

/PHP_CMS/userfiles/

What is the exact error message that is returned, if it is more than a couple lines you can post back and attach it to your reply in a file. Also, when this occurs can you continue past the error and select a file to upload? Please post back with these details, if we can't find a problem and need to look at your files I will open a ticket for you.

Sign in to reply to this post

sandy170299

Eric, this did it /PHP_CMS/userfiles/. It's working now.

Thanks!

Sign in to reply to this post

Eric Mittman

Awesome, that is what I like to see.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...