you then need to install php5-mysql. Use same method "sudo apt-get
install php5-mysql" or other method.

On Mon, Feb 27, 2012 at 7:31 PM, Joseph Matthews <[email protected]> wrote:
> The PHP error log shows:
>
> PHP Fatal error:  Call to undefined function mysql_connect() in 
> /var/www/trafficgenny/select1.php on line 3
>
> Joseph Matthews
> [email protected]
>
> On Feb 27, 2012, at 7:08 PM, Patrick Schmalstig / WRRJ Radio wrote:
>
>> forgot to mention before adding that line to php.ini you'll need to
>> create an empty /var/log/php5_error.log file and chmod it to 777.
>>
>> On Mon, Feb 27, 2012 at 7:06 PM, Patrick Schmalstig / WRRJ Radio
>> <[email protected]> wrote:
>>> Traffic logs by default saved in Apache2 logs (/var/log/apache2).
>>> Sometimes though PHP errors do not get saved, in which case I had to
>>> edit php.ini (/etc/php5/apache2/php.ini) to include the line
>>> "error_log = /var/log/php5_error.log".
>>>
>>> On Mon, Feb 27, 2012 at 7:01 PM, Joseph Matthews <[email protected]> wrote:
>>>> I knew it was something really simple, thank you!
>>>>
>>>> Now when I click "Submit" on the add.html page, I get a blank page 
>>>> insert.php in the browser; trafficgenny.php generates a blank browser 
>>>> window "insert1.php". There's no indication that any traffic log is being 
>>>> generated, and if it is, where would it be saved?
>>>>
>>>> Joseph Matthews
>>>> [email protected]
>>>>
>>>> On Feb 27, 2012, at 6:39 PM, Patrick Schmalstig / WRRJ Radio wrote:
>>>>
>>>>> sounds like you didn't install PHP on your system. If in linux, in a
>>>>> terminal type "sudo apt-get install php5" or "sudo aptitude install
>>>>> php5" or whatever command you use in your distro for your
>>>>> repositories.
>>>>>
>>>>> On Mon, Feb 27, 2012 at 6:34 PM, Joseph Matthews <[email protected]> 
>>>>> wrote:
>>>>>> Can anyone provide some basic help getting the trafficgenny PHP traffic
>>>>>> scheduler working?
>>>>>>
>>>>>> I have:
>>>>>>
>>>>>> 1. Created a mySQL database:
>>>>>> #mysql -u root -p
>>>>>>> create database Traffic;
>>>>>>> exit
>>>>>>
>>>>>> 2. Import the .sql files into it:
>>>>>> #mysql -u root -p Traffic < sheet.sql
>>>>>> #mysql -u root -p Traffic < tempspnsrtimeslots.sql
>>>>>> #mysql -u root -p Traffic < timeslots.sql
>>>>>>
>>>>>> 3. Change the settings in dbinfo.inc.php:
>>>>>> <!-- this file contains your mysql database settings-->
>>>>>> <?
>>>>>> $username="rivendell";
>>>>>> $password="myPassword";
>>>>>> $database="Traffic";
>>>>>> ?>
>>>>>>
>>>>>> 4. Placed all files in /var/www/trafficgenny
>>>>>>
>>>>>> Accessing http://localhost/trafficgenny causes a PHP file "trafficgenny" 
>>>>>> to
>>>>>> download; Clicking "Submit" in add.html causes "insert.php" to be
>>>>>> downloaded; accessing trafficgenny.php downloads the file
>>>>>> "trafficgenny.php".
>>>>>>
>>>>>> I'm sure I've done wrong something very simple, but can't seem to figure 
>>>>>> it
>>>>>> out.
>>>>>>
>>>>>> Thanks for the help!
>>>>>>
>>>>>> Joseph Matthews
>>>>>> [email protected]
>>>>>>
>>>>>> _______________________________________________
>>>>>> Rivendell-dev mailing list
>>>>>> [email protected]
>>>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>>>>
>>>>> _______________________________________________
>>>>> Rivendell-dev mailing list
>>>>> [email protected]
>>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>>>>
>>>> _______________________________________________
>>>> Rivendell-dev mailing list
>>>> [email protected]
>>>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>> _______________________________________________
>> Rivendell-dev mailing list
>> [email protected]
>> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
>
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to