Menu

#1 two errors

open
nobody
5
2005-03-13
2005-03-13
zuklinax
No

I copied all files of the Zip-Archive up to my FTP-
Server ... edited the Username/Password/Database in
the file "config.inc.php", the database also exists.

but by starting my YaBook on the Server, there are the
following errors:

Parse error: parse error, expecting `T_OLD_FUNCTION'
or `T_FUNCTION' or `T_VAR' or `'}''
in /srv/httpd/vhosts/zuklinax.ch/httpdocs/zuk_gbuch/priv
ate/lib/sourdough/Sourdough.class.php on line 44

Fatal error: Cannot instantiate non-existent class:
sourdough
in /srv/httpd/vhosts/zuklinax.ch/httpdocs/zuk_gbuch/priv
ate/index.inc.php on line 26

Now, what shall I do?

Thanks for your help!

gregory

*sorry, if my english isn't correct, I just speak german,
russian and french acceptable ... ;)

Discussion

  • Masta Suvi

    Masta Suvi - 2005-07-05

    Logged In: YES
    user_id=1051693

    Do you have PHP 5?

    (Deutsch ist auch in Ordnung)

     
  • Nobody/Anonymous

    Logged In: NO

    i am not very experienced but I believ you need to check
    your php version. You need to have php5

     
  • angel

    angel - 2005-12-31

    Logged In: YES
    user_id=1416423

    i can address the first error.

    if your server is running multiple versions of php, the
    program is probably being redirected to the lowest version
    available.

    i have taken the time to go thru and change the necessary
    file extensions from .php to php5 and have a downloadable
    zip file available for anyone to access on my personal
    site. (i liked the way yabook looked and reeeeaaly wanted
    to use it so i actually solved the problem).

    http://angelratdesigns.com/yabook.zip

    to change the configuration settings, you will need to
    change config.inc.php5 to config.inc.php before your
    computer will allow you to edit it, and then change the
    name back to config.inc.php5 after you are done, and then
    start yabook by accessing yourdomain.com/index.php5

    this seems to be a very common problem with servers that
    run multiple versions of php. everyone assumes that the
    server will naturally choose php 5 when trying to run
    yabook.

    i know nothing about the second error, but it may be part
    of the first problem.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.