PDA

View Full Version : Installation problem


crankyclicks
08-10-2005, 02:52 AM
I have a problem with the installation.

I've tried since yesterday but I can't seem to get it running smoothly.

When I modifed the pixelpost.php, all information is correct. Even tried grabbing a fresh copy and remodifying it again but it has a problem. Something about unable to log into SQL.

Warning: mysql_connect(): Access denied for user: 'huilingl@localhost' (Using password: YES) in /home/huilingl/public_html/admin/install.php on line 38
Error: Access denied for user: 'huilingl@localhost' (Using password: YES)

So i tried inputing the details straight into the install page and voila! Worked. Tables created. But when I tried clicking the link to go to the admin page. I have an error.

Warning: Cannot modify header information - headers already sent by (output started at /home/huilingl/public_html/includes/pixelpost.php:48) in /home/huilingl/public_html/admin/index.php on line 46

I have a feeling that I can't manually change the details in install.php because everything to is to fit the variables in pixelpost.php.

HELP?

riken
08-10-2005, 05:03 AM
See here: http://forum.pixelpost.org/showthread.php?t=1728

crankyclicks
08-14-2005, 08:25 AM
hie.

thanks! the link has worked marvelouslly. Now I can open up the index.php page.

However, I've tried numerous times to get it right. However, I still have the header problem. I tried logging in but the message that appears is as the above post.

I've tried grabbing a new copy and modifying it again. I've tried adding @header (location: index.php), i've tried uploading it again but I can't seem to get it done.

Any ideas?

Connie
08-14-2005, 08:47 AM
If you run into troubles installing PP, You should never try to edit the script itself and that should never never be necessary

everything is done that you just edit the file pixelpost.php and nothing else

so: it seems that you have some problems, possible reasons:

- edited file is not transferred to the server as ASCII
make sure the FTP is ASCII not AUTO or BINARY

- you edited the file in an editor which is not clean ASCII
some editors add some invisible characters, tokens, at the beginning of the file (f.e. BOM), this brings the reaction "header already sent"

this is known for UltraEdit for example, when saving in UNICODE format with the option "Put BOM at the beginning"

so, which editor did you use?

raminia
08-14-2005, 05:30 PM
header? ummmm
error_reporty(0);

crankyclicks
08-15-2005, 01:13 AM
I edited it through the web actually. Should be ok right?

Umm...raminia, I tried error_report as well. But to no avail. :(

btw, how do I know whether it's uploaded in ASCII and not BINARY?
I am using a web server and I upload my files not by FTP but by the upload functions in my web server.

blinking8s
08-15-2005, 01:37 AM
eh, i suggest using SmartFTP http://www.smartftp.com i swear it makes life MUCH easier...

crankyclicks
08-18-2005, 10:53 AM
I don't have an internet connection at home as I've moved places. SO I can only access internet through my workplace. Trouble is, I think the firewall is on. SO I can use SmartFTP, however easy it can be...unfortunately.
I tried doing it the web browser way...no luck.

Now I am stuck.

any ideas? If not the I'd prob wait for my internet connection to be fixed at home.

GeoS
08-18-2005, 10:04 PM
Never edit PHP scripts through cPanels editor and such things - it can demage all well working scripts!!