how to install the database

Post your support requests/solutions for phpJobScheduler [website]
tourbike

how to install the database

Postby tourbike » Tue Jun 10, 2008 11:23 am

i keep getting the following messages when I run test script
Fatal error: Cannot redeclare db_connect() (previously declared in /phpjobscheduler/pjsfiles/functions.php:111) in /home/htdocs/functions.php on line 104

my php web site already connects to a database so how do i link this one within the code and also can i link this to any page on the site and it will run the cron tab for all the web site??

thanks

tourbike

install problems

Postby tourbike » Tue Jun 10, 2008 11:32 am

ok there is the database set up and I am testing if this works but still need explaining about the fatal error message as I dont undstand what that means

thanks for any feedback

Guest

Postby Guest » Tue Jun 10, 2008 1:10 pm

You have another application that is using the function db_connect.

You can rename it, to something like: pjs_db_connect

but you would also need to change each call to it within each related php file.

tourbike

thanks for the info

Postby tourbike » Wed Jun 11, 2008 5:30 am

Thanks for the info just changed the function name and will test it later on.

I will post a reply once i have tested it

cheers


Return to “phpJobScheduler [forum]”

Who is online

Users browsing this forum: No registered users and 7 guests