Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Unable to acces admin page

Unable to acces admin page

Locked

Views: 2,564

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
17 Jun 2007, 7:19 PM
#1
krish avatar

krish

New Zenner

Join Date:
Jun 2007
Posts:
1
Plugin Contributions:
0

Unable to acces admin page

hi

i have just installed my zen cart on a lunix server and i am able to acces the store fornt but not the admin page

when i go to http://www.mypage.co.uk/admin/index.php

i get a page saying:

Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied in /mnt/web1/50/29/51522029/htdocs/admin/index.php on line 23

Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/opt/RZphp4/includes') in /mnt/web1/50/29/51522029/htdocs/admin/index.php on line 23

does anyone know how to fix this?

thanks

17 Jun 2007, 11:31 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable to acces admin page

You are missing one file and perhaps more.

Download your current '/admin/includes/config.php' file to your hard drive, same place where your 'admin' dir. is now. That gives you a working copy of your current Admin config file.

Now reupload the 'admin' dir. from your computer. This should replace any missing files without changing your current ones.

27 Jun 2007, 6:06 PM
#3
sophia avatar

sophia

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: Unable to acces admin page

Hi, I've got a similar problem.
Tryin' to open Admin panel gives me this:

**Warning: main(DIR_FS_CATALOG_LANGUAGESitalian.:/php/lib/php/meta_tags.php) [function.main]: failed to open stream: No such file or directory in /web/htdocs/www.vidyamedia.it/home/relaishop/admin/includes/languages/italian.php on line 50

Fatal error: main() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESitalian.:/php/lib/php/meta_tags.php' (include_path='.:/php/lib/php/') in /web/htdocs/www.vidyamedia.it/home/relaishop/admin/includes/languages/italian.php on line 50**

What do you think about it?

I tried to put the path but now I've got a sinthax error
Maybe I just need the right sinthax on that line?
This is what I did:

** require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php'.include_path='.:/php/lib/php/');

**I know... I'm a zero on php :)

Thank a lot for help

sophia

28 Jun 2007, 12:14 AM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable to acces admin page

Your 'path' information does not appear correct within your Admin 'configure.php' file.

When using another language, you must make sure that all required language files are correctly uploaded.

I would suggest you first get the site working in English, then try using Italian.

28 Jun 2007, 9:50 AM
#5
sophia avatar

sophia

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: Unable to acces admin page

Website Rob:

I would suggest you first get the site working in English, then try using Italian.

Now I just re-installed from scratch, everything is standard.
The shop (green temp) opens, but I still can't open the Admin.
I got no errors as before (language is just english)

Even tryin a customer LOGIN I got the same: browser lookin' for address and then time outs

Yesterday I had same problem at first

Could it be because of HTTPS?
Should I try to put it to false? (just to understand if my problem is there?)

Thank you
(sorry if my english is rough :-)

sophia

28 Jun 2007, 9:55 AM
#6
sophia avatar

sophia

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: Unable to acces admin page

I even tried to stop the firewall but nothing changes

28 Jun 2007, 10:38 AM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable to acces admin page

Could it be because of HTTPS?
Should I try to put it to false?

I would say, Yes.

If your SSL Cert is a Shared one then you should get the correct path to use from your Hoster.

28 Jun 2007, 11:55 AM
#8
sophia avatar

sophia

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: Unable to acces admin page

Now I have access to admin panel :smile:

What about SSL certificate?
If I haven't a shared one (I'm checkin' with the provider)... and if I got a different one (I mean not a shared one) how do I install it on the server? There's a special installation process or a special place where to put it on?

Thanks so much again

sophia:smile:

28 Jun 2007, 12:06 PM
#9
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable to acces admin page

Normally, your Hoster installs the SSL Cert, no matter what kind you have.
And you should know if you have Dedicated SSL Cert as you have to purchase and pay for it, yourself.

28 Jun 2007, 12:19 PM
#10
sophia avatar

sophia

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: Unable to acces admin page

Just to be sure... you mean that whatever certificate I'll get... I need to ask to the hoster for install it?

Tnx again :smile:

28 Jun 2007, 12:48 PM
#11
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Unable to acces admin page

Correct, although, if it is a Shared SSL Cert then its already been installed and you just need to know the path - which your Hoster can tell you.

28 Jun 2007, 3:01 PM
#12
sophia avatar

sophia

New Zenner

Join Date:
May 2007
Posts:
17
Plugin Contributions:
0

Re: Unable to acces admin page

Thanks a lot Rob :smile: