Member
Member
needhelp   2008-06-25, 22:29
#1

Sorry if this has been answered in another thread, but I am having trouble with my zenphoto installation. After I finished running the setup.php file, i started getting this error when trying to go to my admin page:

Not Found

The requested URL /zp-core/admin.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

My install is here:

www.drewsheneman.com/gallery

if you notice, when you click on a picture, the link does not go to the picture, I believe that the path configuration is wrong, but i am not sure how to fix this. any help would be greatly appreciated.

Member
Member
sbillard   2008-06-26, 01:51
#2

There are several strange things about your site.

First, your .htaccess file seems to be wrong given the folder zenphoto is installed in. But, stranger, setup is not complaining about it.

Then your pictures all seem to be in a folder named cgi-system where one would expect an album name.

I was able to load the admin.php login page without the 404 error. If you can get into admin you should try turning off mod_rewrite and delete your .htaccess file.

Junior Member
Junior Member
youuussef   2008-06-26, 06:42
#3

hello

i have the same exact problem, but can you please tell me how you got to enter the admin page without the 404 problem ?

thank you...

p.s. http://www.youuussef.com/photos/

Administrator
Administrator
acrylian   2008-06-26, 08:27
#4

@Youuussef: It looks that you install is not done correctly, there ino index.php that zenphoto needs (at least I don't see it). But there are some folders that apparently belong to Pixelpost. You probably mangeled both installs. Please try a clean install of zenphoto.

@needhelp:Could you please take a look here: http://www.zenphoto.org/support/topic.php?id=2764&replies=10#post-16542

Member
Member
needhelp   2008-06-26, 13:40
#5

thanks alot! i deleted the .htaccess file that was in my gallery directory, and unchecked the enable mob_rewrite box in the admin toolbox. however, i seem to still be encountering problems. i noticed that when you click a picture, it says "The requested URL /cgi-system/index.php was not found on this server."

This is why i believe that the path configuration is screwed up, because i have tons of photos in my gallery/albums directory! the links just do not point there for some reason.

Administrator
Administrator
acrylian   2008-06-26, 15:56
#6

@needhelp: Ok, one thing to try. Please open the zp-config.php file in the zp-core folder and uncomment the lines
`// define('WEBPATH', '/zenphoto');

// define('SERVERPATH', '/full/server/path/to/zenphoto');`

and enter your paths there manually.

Member
Member
needhelp   2008-06-26, 17:38
#7

This is what i entered:

define('WEBPATH', '/gallery');
define('SERVERPATH', 'http://www.drewsheneman.com/gallery');

www.drewsheneman.com/gallery

now i get

"Error: The 'albums' directory (http://www.drewsheneman.com/gallery/albums/) cannot be found."

lol this is very strange. that is the directory and path where my photos are! why isnt it finding it haha

Administrator
Administrator
acrylian   2008-06-26, 18:04
#8

You did not set the correct server path, take a look here please: http://www.zenphoto.org/support/topic.php?id=586&replies=13

Member
Member
needhelp   2008-06-26, 18:23
#9

that was what i needed, thanks for all your help!

i set it to

define('WEBPATH', '/gallery');
define('SERVERPATH', $_SERVER['DOCUMENT_ROOT'].'/gallery');

works!

Administrator
Administrator
acrylian   2008-06-26, 18:36
#10

Great!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.