Frequently Asked Questions: script questions: flinx troubles: page: 2
-
1
My images are not showing up/coming up as a red X!
This means that the images are CHMODed to something that doesn’t allow them to be displayed properly - they should work if you go into your images folder and CHMOD all the images to 644 via FTP.
This could also be a problem with your path - double check to make sure your path is set correctly in config.php.
May 21, 2004 |
By Sasha |
Filed under FAQ, Flinx: Troubles, Scripts
-
2
I get an error in post.php on line 81 when I try to add a link.
If you get the following error when uploading buttons through the script, it means there is a problem with the image directory’s permissions - it needs to be CHMODed to 777.
Warning: move_uploaded_file(/home/yoursite/public_html/flinx/images/fanlisting.jpg) [function.move-uploaded-file]: failed to create stream: Permission denied in /home/yoursite/public_html/flinx/post.php…
To CHMOD this directory, login to your site using your FTP program. In most FTP programs, you can right-click on the folder name, and choose an option that says something like “Permissions” or “CHMOD”. Choose that, and set the permissions to 777 to make this error go away. Please note, however, that setting permissions to 777 is EXTREMELY insecure. If possible, you should only set permissions to 777 when you wish to upload a button, and once you have finished uploading, set the permissions back to 755.
May 21, 2004 |
By Sasha |
Filed under FAQ, Flinx: Troubles, Scripts
-
3
I get a “Warning: Safe Mode Restriction” error when I try to add a link.
This means that your host has safe mode turned on. You will need to make sure that your path in config.php is the correct and full path. For example, you could get an error looking like this:
The script whose uid is 594 is not allowed to access /home owned by uid 0 in /home/virtual/site93/fst/var/www/html/flinx/post.php on line 81 You did not upload a file or the file could not be moved to /home/admin/mainwebsite_html/flinx/images/fanlisting.jpg
See how it has two paths in it, one with the /virtual/site93 stuff, and one with the /home/admin/ stuff in it? That error tells you what you set the path to in config.php, and what it should be. Check your config.php, and make sure the full path is set to the first path you see in this error (the /virtual/site93 one).
May 21, 2004 |
By Sasha |
Filed under FAQ, Flinx: Troubles, Scripts