Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Please sign in or apply for membership to remove the ads
    • CommentAuthorcorey13d
    • CommentTimeMar 3rd 2008
     
    I just ran what I thought was a successful install on my host (I am using 1and1 hosting). As soon as I tried to upload my first photo, I got this error on the resulting web page:

    Fatal error: Cannot instantiate non-existent class: phpthumb in /homepages/20/d225615953/htdocs/plogger/plog-functions.php on line 513

    Any help?
    • CommentAuthorKasper
    • CommentTimeMar 4th 2008
     
    Strange error..."Cannot instantiate non-existent class: phpthumb" means that Plogger can't find the file with the thumbnail class and functions.

    In line 511 just above in plog-functions.php, Plogger is instructed to load the class file:
    require_once($config['basedir'] . 'lib/phpthumb/phpthumb.class.php');


    1. Check that 'lib/phpthumb/phpthumb.class.php' does indeed exist, it's size should be 121.464 bytes.

    2. Check the content of $config['basedir'], try entering a line with:
      echo('*' . $config['basedir'] . '*'); and check thath the path is correct.
    3. If file and path is correct, then the only reason can be that the files is not included, because require_once thinks it's allready included. 1and1 runs a gallery of their own, maybe that is also running at your site without your knowledge, and maybe it also uses the phpthumb class. Try and change the line to:
      require($config['basedir'] . 'lib/phpthumb/phpthumb.class.php');



    Let me know what happens?

    Kasper
    • CommentAuthorcorey13d
    • CommentTimeMar 4th 2008
     
    Thanks Kasper,

    It seems that my FTP process is failing to upload some sub-folders and files. I'm not sure why, although I'm pretty new at this so I could easily be doing something wrong. Anyway, let me sort that out, b/c that could be the simplest explanation. If I still have a problem, I'll go through your steps. I don't think it is coming from the 1&1 gallery, b/c I had tried that, but then deleted it.

    BTW, after downloading to my local drive, the ploggerb3 folder lists a 0KB file named htaccess. I can't get this to upload b/c windows thinks it's "not there". Do I need it on the server?
    • CommentAuthorKasper
    • CommentTimeMar 4th 2008
     
    It's for special settings on a Unix server, it's not needed, Plogger will create the .htaccess file itself if needed.

    Kasper