close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Internal Server Error

Thread began 10/30/2009 6:31 am by PeterL | Last modified 11/30/2009 7:27 pm by Eric Mittman | 3345 views | 19 replies |

PeterL

Internal Server Error

hello,

when i try to upload an image from a local imagefolder i get the message: "Your file has been successfully uploaded" But the image is in the imagefolder of PowerCMS and not in the image_folder of my site. Where can i change that? (i found a related subject on the support-forum but i am not sure)

When i upload an image to the imagefolder of my site en try to import from the server i get the message:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, my@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

• I have replaced the the config.php from the support_fix
• I changed already the permissions of the imagefolder but that did not solve the problem.
• I have attached a screenpicture from my sitestructure an from the massage containig also the URL


I have the feeling something goes wrong in the URL, perhaps related to the code in de WA_Globals but i realy have no idea.

Another problem occures; after inserting a page and pasting the 3 code-rules in the linked page the page shows code above the header and an error message in the content_area.
Maybe this problem is also related to the above (see pict3.png)

Sign in to reply to this post

Eric Mittman

I think you may just need to adjust the path in the globals file to get the file to upload to the correct image folder. If the PowerCMS is in a sub directory in your site then you should be able to reference the image folder in the root of your site like this:

$WAGLOBAL_Images_Folder = "../image_folder";

As for the error you are getting this looks to be a custom 500 level error that your hosts has enabled for your account. In order to determine what this error is you will need to request that the custom error reporting pages be turned off at least temporarily for your site so you can get an idea about this error.

Sign in to reply to this post

PeterL

Hello Eric,

correct, i have put the PowerCMS in a subfolder because some of de folders have the same name as those in my site; I did not know another way of avoiding overwriting folders.

The change i made gives an error like this:

Error creating folder "/home/httpd/vhosts/mysite.com/httpdocs/PowerCMS folder/..images/" (mkdir() [<a href='plugins/function.mkdir'>function.mkdir</a>]: Permission denied)

I spend many hours on this subject but could not solve it. So i send you the code to see if you can help me out. (picture of my site structure added)


<?php
$WAGLOBAL_Root_URL = "http:///home/httpd/vhosts/mysite.com/ /" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "mysite" ;

$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_Swf_Folder = "swf/"; //relative path to your swf folder.

// Admin Settings
$WAGLOBAL_Admin_UserName = "user" ;
$WAGLOBAL_Admin_Password = "passw" ;
?>

Thanks again, Peter

Sign in to reply to this post

Eric Mittman

With that error message it can be two things, the first thing is that the path is off so the error occurs when it tries the make the folder and can't because of the extra ../ in front of it. The problem could also be that you do not have the permissions to make this directory at this location. If this is the case you would need to make this folder and upload it to your server behavior you are able to upload to it.

To check to see if the problem is with the path you are using you can try updating it to be like this:

php:
$WAGLOBAL_Images_Folder = "/images/image_folder/";



You should be able to get a positive result with this path as a value assuming that these folders exist or that you will create them. The slash in front of the first folder indicates the root of your site. So you should ensure that this value matches the structure of your site. If you still have problems with this let us know and include some values for the images directory in your site that you are trying to upload to.

Sign in to reply to this post

PeterL

Hello Eric,

thanks to your suggestions and de help of DigitalFilePro i was able to find the right path to the image_folder. So, that problem is solved.
Now (you guess it) a new problem occurs; after i have pasted the lines of the Developer Notes in the page instead of the content i expect a lot of error code appears....? ( see attachement)

i feel stupid..What's going on here?
Peter

Code above the Header:

Warning: include(Connections/localhost.php) [function.include]: failed to open stream: No such file or directory in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 1

Warning: include(Connections/localhost.php) [function.include]: failed to open stream: No such file or directory in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 1

Warning: include() [function.include]: Failed opening 'Connections/localhost.php' for inclusion (include_path='.:/usr/share/pear:/tmp') in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 1

Warning: include(WA_CMS/WA_CMS.php) [function.include]: failed to open stream: No such file or directory in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 3

Warning: include(WA_CMS/WA_CMS.php) [function.include]: failed to open stream: No such file or directory in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 3

Warning: include() [function.include]: Failed opening 'WA_CMS/WA_CMS.php' for inclusion (include_path='.:/usr/share/pear:/tmp') in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 3

code in conten_area:

H1
Fatal error: Call to undefined function wa_getcmscontent() in /home/httpd/vhosts/lieberdesign.nl/httpdocs/index.php on line 64

Sign in to reply to this post

Eric Mittman

It looks as though you are just missing the necessary include files on your server. You should make sure that you have uploaded all of these files to the server then test it again, the errors should go away.

This could also happen if the paths are wrong. Check the include links at the top of your page and check that the file exists in the specified location.

Sign in to reply to this post

PeterL

Originally Said By: Eric Mittman
  It looks as though you are just missing the necessary include files on your server. You should make sure that you have uploaded all of these files to the server then test it again, the errors should go away.

This could also happen if the paths are wrong. Check the include links at the top of your page and check that the file exists in the specified location.  



Eric,

i have the feeling as if i am trying to open a locker without knowing the numbers.......'include files', where can i find these?
Oké, i suggest to start from scratch;

I have contacted the server provider for the directory path; that should be in my case: /home/httpd/vhosts/mysite.com/httpdocs/

&#8226; in pict 1 you can see my directory structure
&#8226; in pict 2 you can see where i have put the first 2 rules of code;
&#8226; in pict 3 '' '' '' '' the third rule of code in header;
&#8226; in pict 4 you can see the result;
&#8226; in pict 5 you can see the path in the WA_GLOBALS

hope you can help,

Thanks, Peter

Sign in to reply to this post

Eric Mittman

I think the problem may be related to the value in your global file for the absolute site root URL. This should not be a file system path but an absolute URL like a link:

yoursite.com/

You then specify the directory that the cms files are in for local and remote roots. It looks like you have got this part set correctly. Do you have a link where any part of this can be seen that you can post online? If need be I can open a ticket so we can exchange some info privately.

Sign in to reply to this post

PeterL

Eric, i think best thing is that i can give you all login information...url, pass, etc.
So if you could open some privat environment that would be best.
Tell me than the information you need to help me out.

Peter

Sign in to reply to this post

Eric Mittman

Ok, I opened a ticket for this. You can update the ticket by logging into the site and visiting your support history.

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