View Full Version : upload fine but problem accessing site
jjtaras
02-13-2005, 01:54 PM
i've managed to upload images and can view them throught the admin page, but i'm unable to view my pixelpost site. i assume this is the URL:
http://www.jtaras.com/pixelpost
but when i go to that address i get this error:
Parse error: parse error in /home/cust1/user1080576/html/pixelpost/index.php on line 462
can someone help me out?
Connie
02-13-2005, 03:33 PM
I can reach your site and it loaded
but it is not ok
I see that the tags, which should be interpreted by the script to load the data, are destroyed,
index.php?showimage=%3CIMAGE_PREVIOUS_ID%3E"
what you see here: %3CIMAGE_PREVIOUS_ID%3E"> should be <IMAGE_PREVIOUS> and this should have been converted to the link to the previous image
this situation happens very often, when the upload of the file goes wrong.
Your FTP-program did not upload the scripts in ASCII-mode, but in BINARY-Mode, which is often done, when the filetype php is not recognized
and by this some characters get destroyed /changed / converted
which FTP-program did you use?
Try to upload the scripts again in ASCII-mode and everything will work fine
you must not re-install it, just upload the files in the right way!
good luck :lol:
jjtaras
02-13-2005, 04:03 PM
i've been using fetch and dreamweaver. is there a better solution?
Connie
02-13-2005, 04:24 PM
Hi!
I don't know what is better, you just must look for one thing when uploading .php-files to your webspace:
1) if your ftp-client is configured in that way, that the transfer method is auto-detect / automatically, then mostly these clients have a list of file-types which should be transferred in ASCII-mode, ASCII-types are for example .html, .txt, .css etc.
if so, add .php to this list
2) if your ftp-client has no autodetect, there must be an option to toggle between ASCII-mode and BINARY-mode
if you toggle to ASCII-mode before you upload the files
Good luck again
jjtaras
02-13-2005, 04:30 PM
which files do i need to reload?
and thanks for all your help.
Connie
02-13-2005, 07:07 PM
first try to re-upload the index.php from the main-directory, the one which will produce the photoblog
but why not upload all files again? That will be no problem because you will not run install.php a second time, just upload the files like you did before, take care not to overwrite your pixelpost.php in the admin-directory and take care to upload in ASCII-mode!
good luck!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.