EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username


Getting Software error messages
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
enhance01
Member
 

Joined: Sun Aug 21st, 2005
Location:  
Posts: 3
 Posted: Sun Aug 21st, 2005 10:05 am
 Quote  Reply 
Can anyone help?????

I have been using editwrx on my old managed server for a while now and it works great.  I have just purchased a dedicated server and am running into problems!

I tried to use the auto installer and got the following 500 error:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.



I then tried to good old manual way but am still getting errors, although the admin section seems to work ok, but can't edit pages:


Software error:Can't locate Image/Magick.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /home/virtual/site3/fst/var/www/html/editwrx/library/mods) at (eval 3) line 2.
For help, please send mail to the webmaster (info@sentinus.co.uk), giving this error message and the time and date of the error. Content-type: text/html
Software error:[Sun Aug 21 12:08:42 2005] wrx.cgi: Can't locate Image/Magick.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /home/virtual/site3/fst/var/www/html/editwrx/library/mods) at (eval 3) line 2. BEGIN failed--compilation aborted at (eval 3) line 2.
I really need help quick as this is a new customers website that we are designing and I'm running close to the deadline!!!!

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Sun Aug 21st, 2005 02:12 pm
 Quote  Reply 
enhance01

It looks like your server has been configured to not allow Perl to eval() a statement. The installer seems to fail when it tries to eval which Perl modules are installed. The wrx.cgi fails when it tries to eval whether Image::Magick is installed.

For a quick fix try opening /library/routines.txt and placing a # sign at the beginning of the line 20 so it reads

#eval "use Image::Magick";if([url=mailto:!$@){$image_magick_check=1]!$@){$image_magick_check=1[/url]} $@ = undef;

That may only get you down 2 lines to a failure on the next eval. But the eval on line 22 is a different sort of eval so it is worth a try.

Email support@editwrx.com if that does not get you running so we can troublesoot the problem further.

enhance01
Member
 

Joined: Sun Aug 21st, 2005
Location:  
Posts: 3
 Posted: Sun Aug 21st, 2005 02:22 pm
 Quote  Reply 
Keith, firstly thanks for the quick response, I think you have saved my job!!!

Tried putting the # into line 20 of the routines.txt and everything seems to be working 100%.  Does changing this line do anything different to the program?

How would I go about getting the Installer.cgi to work on this server for future installations? (Have got root access to change settings)

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Sun Aug 21st, 2005 02:53 pm
 Quote  Reply 
Does changing this line do anything different to the program?
You may not be able to send email through EditWrx. There are a number of places where EditWrx does an eval for the location of the email program. But I think that eval will probably work as it evals a system call rather than a use statement.

Try sending the user a new email from the login prompt by checking "I forgot My Password" (Be sure you registered a legitimate email address for that user in User Setups.)

Actually I'm now doubting that "eval" was the problem. I half expected commenting line 20 would only get us to a failure on line 569 where more Perl modules are evaled. But the paths to the modules tested at line 569 are known paths, and it did not fail there. So, we may have a path problem in your INC array that cases the failure on line 20 and on installer.cgi.

Anyhow, check the email. If you can use that then your installation will work OK. You will just not be able to use any ImageMagick features.

Let's concentrate on getting this installation running OK for your deadline. Then, email me directly off-forum and I'll whip up a few scripts so we can pinpoint the problem and see if we can solve it.

enhance01
Member
 

Joined: Sun Aug 21st, 2005
Location:  
Posts: 3
 Posted: Sun Aug 21st, 2005 04:21 pm
 Quote  Reply 
Keith, Sent email to you.

Email is working 100%.  What does the ImageMagick features do?

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Mon Aug 22nd, 2005 07:40 pm
 Quote  Reply 
ImageMagick allows EditWrx to resize images, creating a new image with the new size. It can be used to create thumnail images. It can also convert BMP format images to JPG and auto-resize uploaded images to max width and max height.

It you do noy have it installed all of the indication that you could do any of that is missing from the editor so there is no confusion.


 Current time is 03:53 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez