Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    7

    Default images not loading in advanced guestbook

    HI I am wondering if someone can help me:

    I set up a advanced guestbook in Cpanel and for some reason it wount let me upload picture to it...

    I am getting an error like this
    Warning: move_uploaded_file(/home/wwwtpss/public_html/discuss/public/img-1184719668.jpg): failed to open stream: Permission denied in /home/wwwtpss/public_html/discuss/lib/add.class.php on line 172 Warning: move_uploaded_file(): Unable to move '/tmp/phpYlgm9t' to '/home/wwwtpss/public_html/discuss/public/img-1184719668.jpg' in /home/wwwtpss/public_html/discuss/lib/add.class.php on line 172 Warning: getimagesize(/home/wwwtpss/public_html/discuss/public/img-1184719668.jpg): failed to open stream: No such file or directory in /home/wwwtpss/public_html/discuss/lib/add.class.php on line 292 Guestbook Thank you for signing the guestbook. Your entry was added successfully! You should be transfered back to the guestbook in 2 seconds. Advanced Guestbook 2.4.2

    -I also changed permissions on the entire folder where guestbook resides to 777
    -basically my problem is that signing the guestbook adds the entry text but not the picture

    thanks in advance'd'
    Mark

  2. #2
    Member nyjimbo's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    1,105

    Default

    Check your php.ini to see if it has a valid upload_tmp_dir folder name. PHP will normally produce errors if upload_tmp_dir is not enabled and the folder not defined and if you have open_basedir enabled for the account.
    "A dog has raised it’s hind leg on the age of nevermore !"
    -- Rolf

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    7

    Default

    thanks that was fast...I think I figured it out...even though I changed permissions on the main folder for where the guestbook resides, I still had to individually change the permissions to 777 for the folder where the images are bieing sent and stored...

    thanks again
    Mark

Similar Threads & Tags
Similar threads

  1. Apache not loading images/cssApache not loading images/css
    By mangohead in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-06-2006, 09:08 PM
  2. Advanced Guestbook
    By Nico in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-31-2005, 08:14 PM
  3. advanced guestbook down
    By salvatore333 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2005, 10:38 AM
  4. Advanced Guestbook Images
    By myusername in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-02-2004, 09:49 AM
  5. advanced guestbook 2.3.1
    By cdnmama in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-12-2004, 09:11 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube