close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cant browse upload folder.

Thread began 11/24/2009 9:14 am by dhunt372911 | Last modified 11/30/2009 6:15 pm by Eric Mittman | 1965 views | 5 replies |

dhunt372911

Cant browse upload folder.

Hi,

I have installed Power CMS and have an issue when it comes to browsing for the files I have uploaded via the upload option. If I create a link and upload the file at the same time the link is created without any problems, however if I edit a link when I select browse files option the browse screen loads but I can not see any of the files I have uploaded.

I havent made any changes to the config.php file in the WA_iRite/editor/filemanager/connectors/php folder and here is the code from the WA_globals.php file

$WAGLOBAL_Root_URL = "http://www.bowmerwaste.co.uk/powerCMS%20folder/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "Admin Site Title" ;

$WAGLOBAL_localRoot = "/powerCMS folder/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/powerCMS folder/"; //relative path to your PowerCMS files on your remote server.

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "images/"; //relative path to your images folder.
$WAGLOBAL_Files_Folder = "powerCMS%20folder/"; //relative path to your files folder
$WAGLOBAL_Swf_Folder = "swf/"; //relative path to your swf folder.

Thanks in advnace Darran

Sign in to reply to this post

Eric Mittman

Do you have the images folder in your site root, if so what do you have in this folder? If you are getting to the files folder and can see the contents there then you may need to prefix this images folder with the value of your files folder. This is what I would try if I were having a problem like this, adjusting both the files and images paths to match the exact structure that you have for your site.

You can try putting in the full path with a slash in front of it like this:

/images/ or like this powerCMS%20folder/images/

If you can get these paths to match your site structure and the folders exist in your site then you should be able to upload and select images from them without problem. Let us know what you try and the result that you get.

Sign in to reply to this post

dhunt372911

When I upload a file it goes into the root folder of - "http://www.bowmerwaste.co.uk/powerCMS%20folder/"

However when I click on the browse server option it takes me to the following - "http://www.bowmerwaste.co.uk/powerCMS%20folder/file" directory and I cant move up the tree to get back to the root to see the list of files I have uploaded.

Here is the following details from the WA_globals.php - I have tried changing the path on both the images and files folder in the iRite settings to be the complete path as previously suggested.

$WAGLOBAL_Root_URL = "http://www.bowmerwaste.co.uk/powerCMS%20folder/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "Admin Site Title" ;

$WAGLOBAL_localRoot = "/powerCMS folder/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/powerCMS folder/"; //relative path to your PowerCMS files on your remote server.

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "images/"; //relative path to your images folder.
$WAGLOBAL_Files_Folder = "file/"; //relative path to your files folder
$WAGLOBAL_Swf_Folder = "swf/"; //relative path to your swf folder.

Sign in to reply to this post

Eric Mittman

If you are getting this result from the upload section you should try updating your config and set the files path to be the same as your images path. Given what you have posted here I think that will give you the result you are looking for. Let me know if you have further problems with this.

Sign in to reply to this post

dhunt372911

Here is the code from the config.php file. I have set the paths to be the correct folder but when I browse I still cant see the files that have been uploaded into the powerCMS folder.


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

// 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'] = str_replace("powerCMS folder/", "", str_replace("powerCMS folder/", "", getcwd()));

Sign in to reply to this post

Eric Mittman

You should try updating this to be like it was originally, it should be referencing the values from the globals file. Where is this folder relative to your site root, not the power CMS files? If the folder is in the powerCMS folder then you should be able to reference it directly. If it is above this folder then you may need to adjust the Root URL to not include the power CMS directory, then just specify it if needed for the relative paths.

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...