Author |
Message |
15/11/2004 00:53:08
|
Anonymous
|
Help me!
I've recently successfully switched my guestbook to a new host. The problem that I'm having is that some of the images that were posted aren't showing up. I checked the public folder on my old host, and for some reason some of the permissions are 644 and some are 600. I tried changing the 600 ones to 644 using filezilla and the cpanel x program through the host, but it doesn't change the permissions. It acts like it does, doesn't show me any error messages, but the numbers don't change. When I download the files, they look like they've been downloaded, only they are 0 kb, and obviously don't open up when I click on them. I've searched through these forums and others, but I can't seem to find any explanation.
What the heck is going on?
The address of the guestbook is http://www.castofcharactersmusic.com/bulletinboard/guestbook/index.php.
Any help would be very appreciated!
|
|
15/11/2004 01:54:37
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Disable html!
|
|
15/11/2004 06:32:11
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
If the filesize says zero, it sounds like they weren't uploaded correctly. Some files have to be uploaded in ASCII, some in binary. Most FTP programs have an automatic feature to switch between the two when necessary. Perhaps there is a problem with your FTP program or your host if you are sure you uploaded and changed the permissions correctly.
There is a post on this forum that explains permissions and changing them from CPanel, although you sound like you already knew what you were doing. If you want to read it, you can find it listed on the Topic "Advanced Guestbook Fixes and Mods".
Did you set your base url in the admin/config.inc.php file?
Perhaps you should post your questions at: http://carbonize.co.uk/Board/viewforum.php?f=10
|
|
15/11/2004 07:56:26
|
tooldude
Newbie
Joined: 15/11/2004 07:06:01
Messages: 2
Offline
|
I guess I should explain a few more things. The guestbook was up and running perfectly with the old host. Once I decided to switch to the new host, I exported my original database to a .sql file and imported it to the new host. I also copied all of the folders within the guestbook and uploaded them to the new host.
The part that makes no sense is that on the old host the image files have the correct file size, it's not until I try to download them to my hard drive that they show up as being 0 kb. When I try to access them through CPanelX (that hosts control panel) I can see that the permissions are different for different images (I don't know why), and I can view the ones that have 644, but the ones that have 600 won't open to view, and when I try to change the permissions it does nothing.
I really don't know much about php other than what I've had to learn so far, but this still makes no sense to me. All of the images I have posted on the new guestbook (with the new host) link up fine.
Also, how would disabling the html effect this?
Sorry about the long post, but I want to explain my situation. Thanks so much for responding!
|
|
15/11/2004 09:47:17
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Probably a good idea to download the script afresh and upload the files from it.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
15/11/2004 10:08:34
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Also, how would disabling the html effect this?
Sorry, that was just a warning having nothing to do with your question, which is why I put it in a separate post. Just figured you have enough problems, so why risk getting hacked, too.
http://proxy2.de/forum/viewtopic.php?t=3810
|
|
16/11/2004 02:09:09
|
tooldude
Newbie
Joined: 15/11/2004 07:06:01
Messages: 2
Offline
|
"Probably a good idea to download the script afresh and upload the files from it."
Would that help? When I'm saying the images don't download, its the ones in the "public" folder that people have uploaded with their posts. The ones in the "img" folder work fine...
I'm about ready to give up on ever getting these images back... I guess its not that important..
Thanks for your help.
|
|
16/11/2004 18:35:04
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
change their permissions to what they should be, 644 is it?
If your ftp tool doesn't do it get another one...
www.smartftp.com
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
|