Member
Member
julien   05-11-2013, 13:34
#1

I have just installed zenphoto 1.4.5.7
Did the setup and created admin user
Logged out...
Now I have the "Gallery page" but I can't see anywhere a login link or even the admin tab. I am just stuck on this page "Gallery" I can't do anything.
Can someone help me please. I am just a simple user who wants to use the standard package without putting my hands in the code.
Thanks

Administrator
Administrator
acrylian   05-11-2013, 13:38
#2

Login link is always < path to your installation>/admin assuming your server supports modrewrite.

Member
Member
julien   07-11-2013, 11:58
#3

thanks for your reply.
But I don't really understand what you mean. I am just using the index.php which is in the installation path. I am accessing it with localhost on my server. There is no admin folder or file.
Could you be more specific please. I am a newbie.
I have a windows server 2012 with apache 2.4.4 and php 5.4.2 and MySQL 5.6.12

Administrator
Administrator
acrylian   07-11-2013, 14:19
#4

As said that is the modrewrite link. How shall I know you are on a windows server without it. If you don't have modrewrite the link is /zp-core/admin.php.

Member
Member
julien   11-11-2013, 13:29
#5

Ok, mod_rewrite was not loaded on my apache.
Now I have activated it and restart the apache server.
But I still have the same problem. I can access to the admin console with localhost/zp-core/admin
But when I logout it is not logging out. I am still on the gallery page. And when I access the site from the wan, it says access forbidden because I am not authentified. But the login page is not displayed, I can't login !

Administrator
Administrator
acrylian   11-11-2013, 14:34
#6

To clarify modrewrite is not required and the login link is either
/zp-core/admin.php(non modrewrite) or
/admin (modrewrite).

/zp-core/admin will of course not work.

Member
Member
julien   12-11-2013, 09:23
#7

Ok thanks, the modrewrite thing is clear to me now.
But that does not solve my problem. This is very frustrating beacause zenphoto seems really really good.
Please help me.
Why when I access my website from the wan it says error 403 access denied. It does not ask me to log in. Even on the localhost I have to enter localhost/admin to login and the logout just keep me on the gallery page.

Administrator
Administrator
acrylian   12-11-2013, 10:18
#8

Possible reasons:

  • wrong file/folder permissions
  • cookies disabled in the browser or if seesions are enabled server session issues
  • Javascript disabled
  • 3rd party tools/theme involved

So please review all error logs of ZP, server and browser.

[i]Why when I access my website from the wan[/i]
What is a "wan"?

Member
Member
julien   13-11-2013, 12:49
#9

-file/folder permission : i have read/write access on all the file and folders of my installation

  • cookies enabled
  • javascript enabled
  • bare install, no theme used
  • wan = wide area network

I tried to install on another machine. Same issues.
I noticed that Mod_Rewrite check failed (though rewrite_module is activated on my apache). Also I have a warning saying my file permissions are loose (0666). Also I was not sure of the collation in mysql so I put utf8_general_ci.
Mate I am sure everyone who install it for the first time have this issue. And I am sure you can reproduce it. There must be something to do somewhere !

Administrator
Administrator
acrylian   13-11-2013, 15:16
#10

I am sorry, I really have installed ZP on a lot different shared hosts and I never encountered these issues. IF your permissions are right but the owner is not you might get problems. Sadly on some hosts it is not.

How it should be is documented here:
http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders

utf8_general_ci for the mysql coalition is fine. I have seen modrewrite checks failing before but that was not on an official release. I am sorry I have no idea about that. DOes the htaccess file exist?

Generally ZP reports what the server reports. Some servers use very (too) strict security and might hide some things. Then it would be reported as false.

Maybe my colleague has more ideas later today (different timezone).

Member
Member
julien   29-11-2013, 11:16
#11

Hi guys, me again (sorry). Still not working.
Now I had a deeper look at this mod_rewrite stuff. All I can say is that I did some tests and the rewrite is working properly. I tried a few rules in the .htaccess of the zenphoto root and it is responding well.
But if I go to http://localhost/admin , I don't have the login page, I am still stuck on this gallery page.
Actually, I can write anything like http://localhost/blabla , it won't change anything.
But if I force it to the admin page, http://localhost/zp-core/admin.php , everything is working fine. I can create users, albums, upload photos, browse the galleries etc...
I am wondering if I have all the required modules.
Could you have a look at my httpd.conf ?

Administrator
Administrator
acrylian   29-11-2013, 12:49
#12

Sorry, I really still can't reproduce this issue. It works on our site (nginx), my local server (MAMP/Linux/mac)) and my live webhost (Linux) as intended.

We are no server admins so we cannot really help with any server configuration itself. I personally rely on experts/hosts setting these up and it works on all shared standard hosts I ever installed ZP on.

Make sure to try the support build and that the htaccess file is the current one. Also look at the logs.

Member
Member
julien   03-12-2013, 12:10
#13

I have put the website online so you can see by yourself what is happening :
You will have to go to the zp-core/admin.php to login
Www.xtrazen.net
Login zenphoto
Password zenphoto123

Administrator
Administrator
acrylian   03-12-2013, 13:06
#14

So I just logged in, logged out and logged in again. What exactly is the issue now? All works as expected. http://www.xtrazen.net/admin does not work as either your server does not support modrewrite or you did not enable the option.

Member
Member
sbillard   03-12-2013, 18:43
#15

You did not enable the mod_rewrite option.

I have done that and mod_rewrite links work.

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