Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:35:04 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Internal Server Error with Image Gallery module  (Read 1757 times)
Taajuus

Offline Offline

Posts: 37


« on: May 31, 2007, 06:14:13 PM »

I am getting 500 - Internal Server Error with image gallery modules... I have tried standard image gallery module and Another Image Gallery.

All other basic modules working fine (News, WYSIWYG, Wrapper).

Permissions set to 777 globally. PHP Safe mode is off. You can see PHPInfo here:
http://www.holysmoke.fi/phpinfo.php

Any help?
Logged
Christian

Offline Offline

Posts: 108


WWW
« Reply #1 on: May 31, 2007, 06:24:50 PM »

Hi,

is the image magick module (i think imagick) installed on server?

login as user root and install imagick (on debian apt-get install imagemagick)
« Last Edit: May 31, 2007, 06:28:14 PM by christianT » Logged
Taajuus

Offline Offline

Posts: 37


« Reply #2 on: May 31, 2007, 06:30:13 PM »

login as user root and install imagick (on debian apt-get install imagick)

No can do, it's a hostings company server. But I have another WB pages on same companys server and they work fine with basic image gallery.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #3 on: May 31, 2007, 06:31:57 PM »

then you'll need to check the errorlogs (or make the hoster check them) ...

[CORRECTION]

Crosscheck the PHP Configuration with your other installation. PHP running as CGI/FastCGI is known to cause problems!

[/CORRECTION]

cheers

Klaus
« Last Edit: May 31, 2007, 06:34:25 PM by kweitzel » Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Taajuus

Offline Offline

Posts: 37


« Reply #4 on: May 31, 2007, 06:48:03 PM »

Seems that pages are on different server, but both running with CGI/FastCGI.

Here's phpinfo of another server, WB image gallery on that one runs fine:
http://coravari.fi/phpinfo.php
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #5 on: May 31, 2007, 08:02:04 PM »

OK ... then let's have a look at the differences in the PHP config:

max_execution_time
memory_limit
register_long_array s
upload_max_filesize
...

that's just the first section ... also the parsed php.ini files differ, 1 has bcmath, the other one not ... But the good news is, that you can override the mastervalues by local values. Try to match the configurations against each other and then test again, please. Also you should let the hoster check the errorlogs.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Taajuus

Offline Offline

Posts: 37


« Reply #6 on: June 01, 2007, 08:13:28 AM »

Ok, I'm on to the problem now... It seems to be the permissions.

I installed Inline Wrapper mod and when trying to use that I also get 500 Internal Server Error. Did a little research and it seems that server gives always 500 if page permisions are set to 777 ?!

Ok no problem other, but in WB settings I have World-writeable file permissions (777) on, so it always sets new pages and directories as 777. Problem is, I cant change that setting! If I unselect it and save, it is still on when looking at settings.

What could cause this and how could I change that World-writeable setting?
Logged
Taajuus

Offline Offline

Posts: 37


« Reply #7 on: June 01, 2007, 08:25:43 AM »

Problem solved.

I change the dir and file permissons straight to WB MySQL table. Everything works fine now, when WB does not set permissions to 777.
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #8 on: June 03, 2007, 10:06:46 AM »

Hello,

this is reported here different times. If Apache runs as CGI you only can use chmod755. Trying to use chmod 777 didn't work and can brake your whole wb install in the worst case.

Matthias
Logged
JonH

Offline Offline

Posts: 25


« Reply #9 on: February 22, 2008, 02:25:02 AM »

Problem solved.

I change the dir and file permissons straight to WB MySQL table. Everything works fine now, when WB does not set permissions to 777.

Ok, I how do I disable "World-writeable file permissions (777)" in the settings? Unchecking the box doesn't work.
« Last Edit: February 22, 2008, 02:26:58 AM by JonH » Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #10 on: February 23, 2008, 08:20:40 AM »

Hello,

first read here:

http://help.websitebaker.org/pages/en/knowledge-base/files-and-permissions.php

After reading this you wil know that there are two different possible owners. Changing file permissions in WB backend is for changing permissions of the wwwrun user. These settings should be untouched as changing this could be a security hole.

What i talked about in the above thread is changing the permissions for the ftp user. This could be done with your ftp client.

Matthias
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!