PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   admin login problem (http://www.photopost.com/forum/photopost-pro-installation-upgrades/113134-admin-login-problem.html)

iloco March 27th, 2005 08:35 PM

admin login problem
 
When I clcik on admin logout in admin cpanel I go to photopost/index.php
I enter my user name and password and go to a page with

NOT FOUND
The requested URL /photopost/login.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.

I looked in photopost directory and I have no login.php

I think the path should be MyDomain/index.php

Where do I change this path.

iloco March 27th, 2005 08:36 PM

Quote:

Originally Posted by iloco
When I clcik on admin logout in admin cpanel I go to photopost/index.php
I enter my user name and password and go to a page with

NOT FOUND
The requested URL /photopost/login.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.

I looked in photopost directory and I have no login.php

I think the path should be MyDomain/index.php

Where do I change this path.


I can give admin access to photopost if needed. :)

This also happens from the logout on my nav bar in the gallery. I am using vb3 Integration.

b6gm6n March 28th, 2005 04:53 AM

Hi..

I think via phpmyadmin you'll have to alter the paths to your vbulletin install and pp install again, making sure you have the right cookie prefix and domain settings.

-T

iloco March 28th, 2005 07:04 AM

Ok I am not that good with phpmyadmin so what do I look for when I go into it.
I use a data base for my vbb install and one for pp install.
I looked at settings in pp data base and don't see anything that I thought would have the paths wrong.

Chuck S March 28th, 2005 08:41 AM

What are you clicking to get photopost/login.php as that would help alot

iloco March 28th, 2005 08:56 AM

Ok will try and explain.
Go into admin cpanel and clcik on log out or can do same from nav bar in the photopost main gallery page.

When click on log out I go to mydomain/photopost/index.php

This gives me a login page and when I enter my user name and pasword I go to mydomain/photopost/login.php and get a page not found error. I ahve no login.php in photopost directory it is looking for.

My site Here
User: test
pass: test

Use the logout in the nav bar in the photopost gallery and it will do the same.
Log out and get the page all cookies cleared and then clcik on return to previous page.
Enter user name and pass test and test and it will take you to Not found Page with mydomain/photopost/login.php in address bar.
It is being directed to the wrong place to log back in from photopost.

I can go to my homepage and login to get back to the PP gallery.

I can give admin acces if you need to get into cpanel. :)

Chuck S March 28th, 2005 09:12 AM

You would need to modify your VB templates to point to the forums or specifically alter the photopost header-inc.php to add that script to autotranslate

Looks to me like your going to have to alter the vb templates as that call to login.php is not in the header or footer we process and autoconvert. Thats a RELATIVE link to login.php in the vb3 template.

I beleive the template you want to add the full url to login.php to is

STANDARD_ERROR

iloco March 28th, 2005 09:16 AM

I am running the 5.02 version of Photopost. You helped me when I lost all my images.
I am curious if anyone else can duplicate this becasue I am running non hacked version of vbb.
I have no idea what templates to edited to get this fixed. Its not a big deal other than I would like to know why its not wroking as it should.

Chuck S March 28th, 2005 09:21 AM

It is working as it should to the best of my knowledge.

We autotranslate links in the vb3 header and footer.

We do not claim to autotranslate link that would appear in Photopost from a template call in VB. Same goes for when users use custom styles we dont auto translate those links either.

I am sure in a future version we can look at ways to autotranslate things on a broader scale

iloco March 28th, 2005 09:27 AM

I can always go back to main index page and log in to get back to photopost.
I thought it odd that would get page not found and it looing for login in photopost directory.
Was curious if others had the same problem or if they were directed back to a good login page.
Thanks for having a look at it for me. :)

Chuck S March 28th, 2005 09:43 AM

Yep did editing the template states fix your problem

iloco March 28th, 2005 10:09 AM

Call me dumb but I haven't found the template to edit to get the right path to work.
Where is a template states.

Chuck S March 28th, 2005 10:17 AM

in your VB3 admin style editor edit the templates for your style and edit the STANDARD ERROR template

iloco March 28th, 2005 10:36 AM

Ok I found Standard Error template but not sure what or how to edit.
Since this is not a photopost issue I will post at vbportal and see if one them can help me.
I appreciate your help chuck and understand you got Photopost to look after and don't have time to mess with vbb problems.
Thanks for your help. :)

Chuck S March 28th, 2005 05:01 PM

You need to alter the login.php call to a full url like so

<form action="login.php" method="post"

make it this

<form action="http://www.iloco.org/forums/login.php" method="post"

iloco March 28th, 2005 05:29 PM

In standard_error template I changed the code to how you have it but It still don't work.
When I go into admin cpanel of Photopost and click on logout I go to "iloco.org/photopost/index.php", I then enter my user name and password to log back in and get this page "iloco.org/photopost/login.php" that has the error 404 not found.
Sorry for being such a bother, I was just curios why the error page. I can link back to my vbb or vbportal to log back in that way so its not that I can't get back to my gallery. :)

Chuck S March 28th, 2005 06:10 PM

Now that you changed that template I can login fine from that locked down page

remember login.php is not in photopost directory but the forum

The template you edited made the login.php point back to the forum

iloco March 28th, 2005 06:21 PM

Works like a charm now after I cleared my cookies.
Need to buy you a steak dinner one these days if you don't live to far from me.
Thanks a bunch for getting me straightened out.
I am saving all the problems you have helped me with in notepad txt in case I run into them again. :)

Chuck S March 28th, 2005 06:23 PM

LOL I live next state up

iloco March 28th, 2005 06:41 PM

How far from me.
I am 35 miles north of Bristol Tn right off Interstate 81.
About 35 miles to where Interstate 77 and 81 Intersect. :)
You may live closer than what I thought.


All times are GMT -5. The time now is 09:42 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97