Is the instalation in the main folder (host folder) or in subfolder? Sometimes the access rules can interfere and create 503...
Dlget
Joined: 2012-07-10
Posts: 6
Posted: Tue, 2012-07-17 01:56
No file in logs folder.
Created local.php & get this error "No Direct Script Access"
Installation in main folder
Also tested G2 & got no error.So why in G3???
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-07-17 04:53
Quote:
No file in logs folder.
Not even a bit?
If not even a single file, then I guess you have some permissions issue on the file system. But you said no files so I guess that is it.
Quote:
Also tested G2 & got no error.So why in G3???
Don't know? Perhaps your host does not meet the requirements. It works for me and others.
Why do you want G3? G2 is still viable and even has more features.
I again checked G2.But don't like it's interface while G3 looks better than that.
Isn't there any way to fix this??
i read some editing .htaccess can fix this[i forgot,that run G3 in previous version of php 5.3]
i used that & get another error that G3 require Php 5.2.* or later
Please suggest if it can be fixed any way
floridave
Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-07-19 03:57
From another thread:
tp wrote:
I my case it does work, with a tweak... My host uses litespeed and they had me add a line to my gallery3 htaccess file:
AddHandler application/x-httpd-php5 .php
This sets g3 to be ran by PHP5.2 instead of 5.3 which includes ZendOptimizer instead of ZendGuard/Loader...
Seemed to have worked for him. Not sure why not for you. Perhaps anther user has some suggestions.
I've also found that using gallery3 + php 5.2 + lightspeed seems okay, but with php 5.3, it is not.
I know my webhost will be doing away with php 5.2 soon; guess it's time to bite the bullet and migrate away from gallery; and to something a bit more html5-ish and better mobile support.
Been a fun almost 10 years, but this might be the straw that breaks the camel's back!
jason20910
Joined: 2012-08-10
Posts: 1
Posted: Fri, 2012-08-10 14:22
I am encountering this error too with my web host. When they upgraded my server to php 5.3 and litespeed, my gallery broke. Once their support and I found out about this issue they moved my account to a server that had not been upgraded yet. But, now that server is to be upgraded this weekend. I am not sure how long before they run out of servers to upgrade.
Can anyone recommend an alternative tool that has similar functionality that would not conflict with php 5.3 and litespeed? I have thousands of pictures in two gallery sites. Hopefully the other product could do some sort of import to capture all of the descriptions and album groupings, etc. It would be a nightmare to re-do all of that.
Are there any plans to upgrade Gallery 3 to support php 5.3 and litespeed?
kpkammer
Joined: 2013-02-10
Posts: 4
Posted: Sun, 2013-02-10 06:10
SOLUTION
To fix this simply edit /system/core/Kohana.php around line 704:
if ($filename = Kohana::find_file($type, $file)) { // Load the class require $filename; } else { // The class could not be found ############### ## BEGIN FIX ## ############### /* Avoid segmentation fault in Zend Guard (Original: http://blog.teatime.com.tw/1/post/403) When ZendGuardLoader is enabled, it will try to load the same class again if does not exist, it will try a random name, then segmentation fault. So, we keep the name first, then, create a dummy class for it. */ // Only check this if ZendGuardLoader exist if (extension_loaded('Zend Guard Loader')) { static $last_name = '';
// Reject it first if ($last_name !== $class) { $last_name = $class; return FALSE; } // Create dummy one if try again Kohana_Log::add('debug', 'create dummy class: '.$class); eval("class $class { }"); } ############# ## END FIX ## ############# return FALSE; }
Posts: 27300
Host? Logs? Searched?
http://gallery.menalto.com/node/105543
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
Host-x10Hosting
Logs-????
Searched But Find Nothing Useful
Posts: 27300
FAQ: How do I see debug information?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Try checking Google for an answer:
http://www.google.com/search?q=site:gallery.menalto.com++Litespeed++503
Google is your friend
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
Is the instalation in the main folder (host folder) or in subfolder? Sometimes the access rules can interfere and create 503...
Posts: 6
No file in logs folder.
Created local.php & get this error "No Direct Script Access"
Installation in main folder
Also tested G2 & got no error.So why in G3???
Posts: 27300
Not even a bit?
If not even a single file, then I guess you have some permissions issue on the file system. But you said no files so I guess that is it.
Don't know? Perhaps your host does not meet the requirements. It works for me and others.
Why do you want G3? G2 is still viable and even has more features.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
My server gives fully featured cpanel hosting.
So i don't think there will be any permission issue.[Restricted to external bin files]
I read many security loops n G2.So thinking to use G3.
if in v2.3 loops are fixed,no problem at all
Posts: 27300
There is no security issues with G2.3.2
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
I again checked G2.But don't like it's interface while G3 looks better than that.
Isn't there any way to fix this??
i read some editing .htaccess can fix this[i forgot,that run G3 in previous version of php 5.3]
i used that & get another error that G3 require Php 5.2.* or later
Please suggest if it can be fixed any way
Posts: 27300
From another thread:
Seemed to have worked for him. Not sure why not for you. Perhaps anther user has some suggestions.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 6
coz with this line G3 is running on 5.1.* not 5.2.* with my server
Posts: 1
I'm having the same problem. Anyone have a solution for this? Been wrestling with it now for a few days. Help!!!!!
________________________________________
how to lose stmoach fat | how to lose fat | how to lose body fat
Posts: 27300
Don't use lightspeed as a webserver use the supported webserver Apache.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 59
I've also found that using gallery3 + php 5.2 + lightspeed seems okay, but with php 5.3, it is not.
I know my webhost will be doing away with php 5.2 soon; guess it's time to bite the bullet and migrate away from gallery; and to something a bit more html5-ish and better mobile support.
Been a fun almost 10 years, but this might be the straw that breaks the camel's back!
Posts: 1
I am encountering this error too with my web host. When they upgraded my server to php 5.3 and litespeed, my gallery broke. Once their support and I found out about this issue they moved my account to a server that had not been upgraded yet. But, now that server is to be upgraded this weekend. I am not sure how long before they run out of servers to upgrade.
Can anyone recommend an alternative tool that has similar functionality that would not conflict with php 5.3 and litespeed? I have thousands of pictures in two gallery sites. Hopefully the other product could do some sort of import to capture all of the descriptions and album groupings, etc. It would be a nightmare to re-do all of that.
Are there any plans to upgrade Gallery 3 to support php 5.3 and litespeed?
Posts: 4
SOLUTION
To fix this simply edit /system/core/Kohana.php around line 704:
Posts: 27300
Can you verify that this fix:
https://github.com/shadlaws/gallery3/commit/110123f7cf7674368459c8bbd236471e01e5c183
works for the segmentation fault in Zend Guard issue. With this fix we are not modifying a core Kohana file.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team