close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

problems uploading images inspite of fix

Thread begun 10/19/2009 5:41 am by web364946 | Last modified 11/30/2009 3:34 pm by Eric Mittman | 6216 views | 17 replies |

web364946

problems uploading images inspite of fix

I am unable to upload images to the server using PowerCMS. I have replaced the config file as specified in the fix, but it still doesn´t work. I have tried specifiying different paths in the global file to see if the problem is there, but it still doesn´t work. Pls advice.
Kind regards

Sign in to reply to this post

Eric Mittman

If you are using the most up to date config file then the issue is likely just one of having the correct paths specified in the globals file.

What happens when you attempt to upload an image? Do you see a blank place holder where the image should be? What is the browser you are using? If you use FireFox you should be able to right click on the image and view it's properties to see where it is expecting the image to be coming from. Most of the time this will be enough info to let you know what values you need to update to get the image to show correctly. You should also take a look to see if you have some extra new folders in your site, image userimages as all one word or anything like that. Please post back with what you discover.

Sign in to reply to this post

web364946

Yes, the image shows up as an empty box with an "x" in it. When I rightclick on the box I get the following path:

algar.jpg

This is the correct folder, as far as I can tell. If I replace "algar.jpg" with the name of another image in that folder it shows up correctly.

In the globals file, I have specified the following settings:

$WAGLOBAL_Root_URL = "http://studio-n.se/CMS100/" ; //Absolute path to your site folder.

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

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "../images/"; //relative path to your images folder.

Can you see anything wrong with this?
Thanks for your help

Sign in to reply to this post

web364946

correction to last reply

sorry, the values specified as above are just some of all the options I have tried, and have been changed since last updated to the server. The values corresponding to the image path specified as above are:
$WAGLOBAL_Root_URL = "http://studio-n.se/" ;

$WAGLOBAL_localRoot = "/CMS100/";
$WAGLOBAL_remoteRoot = "/CMS100/";
$WAGLOBAL_Images_Folder = "../images/";

As far as I can see, no additional folders have been created.

Sign in to reply to this post

MickW

If you visit images/
algar.jpg is not there - so the file isn't uploaded.

Also I've found that if you have...

$WAGLOBAL_Images_Folder = "../images/";

..in your globals file then the page code will read.. "http://studio-n.se/CMS100/../images/algar.jpg"
i.e. the ../ is inserted. Internet explorer corrects/removes the ../ from the code and dislays the image but Firefox doesn't and displays the 'x' instead.

Cganging the globals line to...$WAGLOBAL_Images_Folder = "images/";
...seems to resolve this issue.



Hope that helps,
Mick

Sign in to reply to this post

web364946

Hi,

Thanks for your help, however, it´s still not working.
I tried changing the globals lineto "images/"; however I am still having the same problem.

I can see that the file (in this case "algar.jpg") is not available in the folder so it seems the problem is uploading this file. What can I do to sort this out?

I really need to get this problem sorted asap! Thanks for your help!

Sign in to reply to this post

Eric Mittman

What do you currently have set in your Globals file for the root URL and other paths, and what do you seen when you try to upload an image? Please post back with these values and the location that the image is attempting to come from when you try to add it to your content. With all of these path values I should be able to help you determine what the issue is. If I have trouble with it I will open a ticket for you on this.

Sign in to reply to this post

web364946

here are my current settings:
$WAGLOBAL_Root_URL = "http://studio-n.se/CMS100/" ;
$WAGLOBAL_Site_Name = "Studio N" ;

$WAGLOBAL_localRoot = "CMS100/";
$WAGLOBAL_remoteRoot = "CMS100/";

$WAGLOBAL_Images_Folder = "images/";
$WAGLOBAL_Swf_Folder = "swf/";

The system is telling me "Image uploaded to server" -- but it's not there. It is pointing to "http://studio-n.se/CMS100/images/content/algar.jpg" but no image is showing, just a red cross. When I look for the file on the server, it is not there, not in the file specified or in any other file.
Please help, this is driving me nuts. Is there another setting that needs to be configured in order to upload images or what can the problem be?

Sign in to reply to this post

neilo

There seems to be a very high number of combinations to try, unless the documentation is entirely unambiguous. While you're waiting for a logical solution to your problem from the WA_guys, have you tried this exact combo?

$WAGLOBAL_Root_URL = "http://studio-n.se/cms100/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "Studio N" ;

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

$WAGLOBAL_Images_Folder = "images/";
$WAGLOBAL_Swf_Folder = "swf/";

Just something to do while you're waiting! (Not holding my breath).

Sign in to reply to this post

Eric Mittman

The settings that neilo has listed should be correct based on how you are describing your setup. If you have tried these setting exactly as they have been listed it should work, if it is not working please let me know and I can check into this further for you.

Sign in to reply to this post
loading

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