Flamzeron Posted July 9, 2011 Author Posted July 9, 2011 All the images had been uploaded once I had uploaded the zipped folder. They should be linked correctly, but the broken ones are still broken.
Guest Geoff Posted July 10, 2011 Posted July 10, 2011 It doesn't appear to be there for me: root@johnny [/home/mizuho/public_html/images]# ls ./ botbg.gif* colette4.gif* genis1.gif* genis5.gif* kratos3.gif* title.gif* ../ colette1.gif* colette5.gif* genis2.gif* home.gif* kratos4.gif* bg1.gif* colette2.gif* corrine.gif* genis3.gif* kratos1.gif* kratos5.gif* bg.gif* colette3.gif* cress1.png* genis4.gif* kratos2.gif* lefbg.gif* root@johnny [/home/mizuho/public_html/images]#
Flamzeron Posted July 10, 2011 Author Posted July 10, 2011 It should be fine now. The image folder that was being linked in the code was an old one. The images should be working now. The only one that isn't working is the home one. Also, how do I remove the weird language that shows up sometimes?
Guest Geoff Posted July 10, 2011 Posted July 10, 2011 Change this: $home_img = "http://mizuho.heliohost.org/cgi-bin/images/home.gif"; # Homepage image. To this: $home_img = "home.gif"; # Homepage image.
Flamzeron Posted July 10, 2011 Author Posted July 10, 2011 It's working now. How do I get rid of the weird number language that shows up?
Guest Geoff Posted July 10, 2011 Posted July 10, 2011 The problem is your script was written in mandarin, and probably when you saved it on your windows computer, it got saved in ASCII, causing a loss of character information. You should have saved it in UTF-8 instead, which would have prevented those weird numbers. However, since you can't go back and change the future, you'll need to manually change all the characters that got messed up on your windows machine. Be sure that while you are editing your file, you keep a backup of the previous version of your script, and before deleting the backup, test your script in your browser.
Flamzeron Posted July 11, 2011 Author Posted July 11, 2011 How do I know what to look for in the code?
Guest Geoff Posted July 11, 2011 Posted July 11, 2011 Pretty much, you need to look for characters like this: \&\#\2\3\9\; I can't post the character, take out the backslashes. And change them to letters. Really, you don't need to do this for every occurance, you only really need to do this to the ones that show on the web page.
jje Posted July 11, 2011 Posted July 11, 2011 Don't edit your files in Notepad, it adds extras to it that can confuse the server. Use metapad instead.
Guest Geoff Posted July 12, 2011 Posted July 12, 2011 It's not so funny when notepad messes up 1000 lines of code... That's why I don't use it.
jje Posted July 13, 2011 Posted July 13, 2011 I thought that was a grin, not a laugh. Yeah, Notepad is very bad for editing code. Just use metapad; much better.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now