|
#1
|
|||
|
|||
|
installation blues
Hi
i'm having some installation problems - my servver supports PHP and MYSQL - i uploaded the content of the zip file which i downloaded in to the "public_html" folder of my server - i edited the file pixelpost.php in the admin-directory and entered the informations for the database/user/password - i set the attributes for the image- and the thumbnail-directory to 777 BUT when i go to http://www.mywebpage/admin i am asked for my user name and password which i enter to login but nothing happens!!! did i miss something? Regards dua_tao |
|
#2
|
|||
|
|||
|
please tell us the URL of your installation that we can check;=)
|
|
#3
|
||||
|
||||
|
Re: installation blues
Quote:
to see if that's your problem too you could check permission to set cookies in your browser in the privacy section. OR you can change the admin/index.php TEMPORARY at about line 274 which says Code:
if($login == "true") {
?>
<div id="caption">
Welcome to Pixelpost Admin - You need to login.
</div>
<div id='jcaption'>
Login sets a cookie
</div>
<div id="content">
Code:
/* temporary commented */ // if($login == "true") {
if($login == "false") {
?>
<div id="caption">
Welcome to Pixelpost Admin - You need to login.
</div>
<div id='jcaption'>
Login sets a cookie
</div>
<div id="content">
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#4
|
|||
|
|||
|
Raminia - thanks for your help!
but now that i've changed that line, i don't have to log in at all! it just goes atright to the admin table, i also seem to have some problems uploading my photos as an error msg about tables shows up. Connie - here is the url http://www.ahpooi.com/main/admin/index.php thanks for the quick replies
|
|
#5
|
|||
|
|||
|
Quote:
the message above shows that there is an error in the script, this message comes when there are some empty lines sent before the webpage is "really" startet there must be something really wrong in the pixelpost.php; please show us this file (with database information empty for sure) |
|
#6
|
|||
|
|||
|
hi connie here is the pixelpost.php file
Quote:
Regards dua_tao |
|
#7
|
||||
|
||||
|
Hi!
I have solution for you. read this to end.I forgot to mention that by that change I've mentioned the login page is eliminated and that was the reason that I told you to remove it temporary. the warning message Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/ahpooi2/public_html/main/admin/pixelpost.php:48) in /home/ahpooi2/public_html/main/admin/index.php on line 41 1) issuing echo or some other function before <header> tag of the produced html. (it says " Cannot modify header information - headers already sent " ) 2) some other error in the code that is not directly related to it. BTW, for php code to be functional in the on the website and not at the developing stage you should add Code:
error_reporting(0); I've done this and it's all ok on my local server. you can find my long struggle for finding out the problem here: http://www.pixelpost.org/forum/viewt...amp;highlight=
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
| Post Reply |
| Thread Tools | |
|
|