ZenphotoCMS Forum
error message - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: error message (/thread-5245.html)



error message - bill61 - 2009-05-29

hi developers

i am getting this error message when i try to enter my site:

Forbidden
You don't have permission to access /zp-core/admin.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.




error message - acrylian - 2009-05-29

You need to set the permissions correctly. See the troubleshooting guide.




error message - bill61 - 2009-05-29

hi acrylian

do u mean correct this file : htaccess ??




error message - acrylian - 2009-05-29

No, the permissions on the folders and files of your installtion. Please read: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#29




error message - bill61 - 2009-05-29

acrylian

should i change the permission to every folder and file to : 0777 ??

however, folders are easy to change but how could i chase every single file ?

regards




error message - sbillard - 2009-05-29

Most FTP probrams will let you change permissions for groups of files.




error message - bill61 - 2009-05-29

hi sbillard

well, i am changing everything now to 777




error message - bill61 - 2009-05-29

hi

i changed every folder and file to 777 and the error message still there

Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


Apache/1.3.33 Server at AppStuff Port 80




error message - sbillard - 2009-05-30

Perhpas it is a security block in the (an) .htaccess file. You may need to contact your service provider for help on this one.




error message - bill61 - 2009-05-30

hi sbillard

i contacted godaddy and this is the reply:

Thank you for contacting Online Support. Unfortunately we are not able to assist your further on this issue. You will need to review your code and settings in the htacess file. We do not provide support for custom scripting and coding. We apologize for the inconvenience.

Please let us know if we can help any other way.

Sincerely,

Michael P.
Online Support Team

now this is the htacess file so could u pls corrected if possible:

htaccess file version 1.2.2.0;


Update the above and the define in setup.php when you make changes to the rewrite rules!


NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory. (Or let setup.php do it for you!)


RewriteEngine On

!!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!


RewriteBase /zenphoto


RewriteRule ^admin/?$ zp-core/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^albums/?(.+/?)?$ $1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]

RewriteRule index.php$ index.php [L,QSA]
RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9-]+)/?$ index.php?p=$1 [L,QSA]
RewriteRule ^page/([A-Za-z0-9
-]+)/([0-9]+)/?$ index.php?p=$1&page=$2 [L,QSA]
RewriteRule ^(.)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]
RewriteRule ^(.
)/page/([A-Za-z0-9_-]+)/?$ index.php?album=$1&p=$2 [L,QSA]

Rewrite rule addition for search


RewriteRule ^page/search/fields([0-9]+)/(.)/([0-9]+)/?$ index.php?p=search&searchfields=$1&words=$2&page=$3 [L,QSA]
RewriteRule ^page/search/fields([0-9]+)/(.
)/?$ index.php?p=search&searchfields=$1&words=$2 [L,QSA]
RewriteRule ^page/search/archive/(.)/([0-9]+)/?$ index.php?p=search&date=$1&page=$2 [L,QSA]
RewriteRule ^page/search/archive/(.
)/?$ index.php?p=search&date=$1 [L,QSA]
RewriteRule ^page/search/tags/(.)/([0-9]+)/?$ index.php?p=search&searchfields=4&words=$1&page=$2 [L,QSA]
RewriteRule ^page/search/tags/(.
)/?$ index.php?p=search&searchfields=4&words=$1 [L,QSA]
RewriteRule ^page/search/(.)/([0-9]+)/?$ index.php?p=search&words=$1&page=$2 [L,QSA]
RewriteRule ^page/search/(.
)/?$ index.php?p=search&words=$1 [L,QSA]

Rewrite additions for zenpage


RewriteRule ^pages/?$      index.php?p=pages [L,QSA]

RewriteRule ^pages/(.)/?$ index.php?p=pages&title=$1 [L,QSA]
RewriteRule ^news/?$ index.php?p=news [L,QSA]
RewriteRule ^news/([0-9]+)/?$ index.php?p=news&page=$1 [L,QSA]
RewriteRule ^news/category/(.
)/([0-9]+)/?$ index.php?p=news&category=$1&page=$2 [L,QSA]
RewriteRule ^news/category/(.)/?$ index.php?p=news&category=$1 [L,QSA]
RewriteRule ^news/archive/(.
)/([0-9]+)/?$ index.php?p=news&date=$1&page=$2 [L,QSA]
RewriteRule ^news/archive/(.)/?$ index.php?p=news&date=$1 [L,QSA]
RewriteRule ^news/(.
)/?$ index.php?p=news&title=$1 [L,QSA]

RewriteRule ^(.)/image/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2 [L,QSA]
RewriteRule ^(.
)/image/([^/\]+)$ zp-core/i.php?a=$1&i=$2 [L,QSA]
RewriteRule ^(.*)/album/(thumb|[0-9]{1,4})/([^/\]+)$ zp-core/i.php?a=$1&i=$3&s=$2&album=true [L,QSA]


Catch-all - everything else gets handled in PHP for compatibility.


RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]




error message - sbillard - 2009-05-30

This seems to be the standard Zenphoto .htaccess file so it is not the cause of the problem. Is Zenphoto installed in the WEB root or in a sub-folder? If a sub-folder, look at the root and see if there is a .htaccess file there.

I'm sorry that Godaddy is not willing to support their customers. This error is from some kind of server configuration. We probably will not be able to guess what has been done.

Perhaps there are other Godaddy users on the forum who can help.




error message - Pinke Bilder - 2009-07-26

had the same problem too but canceled godaddy right now and switched over to domainfactory - works like a charm now.