2014-09-06 - Re: [GRASE-Hotspot] Re: Nightly Build

Header Data

From: Timothy White <ti***8@gmail.com>
Message Hash: 4d4ba5d83de1b7b81e868c86257c5723b9e3a2cd9ffe26b6170169c1e9a04f9f
Message ID: <CAESLx0J0Qzz-1_es1B24tK_A57TWJMHXogtB+vT_Ybn_GPbj7w@mail.gmail.com>
Reply To: <5e7709a7-f00a-4600-8392-3668366b3ccf@grasehotspot.org>
UTC Datetime: 2014-09-06 00:22:32 UTC
Raw Date: Sat, 06 Sep 2014 17:22:32 +1000

Raw message

I've uploaded a new nightly that should fix that.

Try installing it and check the cron script again.

Tim


On Sat, Sep 6, 2014 at 4:35 PM, Mohammad Javad Ra'adi <
pe***t@gmail.com> wrote:

> i got this error in my apache log file after i ran cron.php file:
>
> [Sat Sep 06 11:00:02.066620 2014] [:error] [pid 2131] [client
> 127.0.0.1:45866] PHP Fatal error:  Uncaught exception 'PDOException' with
> message 'SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP
> 'ServiceType'; check that column/key exists' in
> /usr/share/grase/src/Grase/Database/Upgrade.php:364\nStack trace:\n#0
> /usr/share/grase/src/Grase/Database/Upgrade.php(364): PDO->exec('?
>      ...')\n#1 /usr/share/grase/src/Grase/Database/Upgrade.php(101):
> Grase\\Database\\Upgrade->fixPostAuthTable()\n#2
> /usr/share/grase/www/radmin/cron.php(53):
> Grase\\Database\\Upgrade->upgradeDatabase(Object(Grase\\Database\\Radmin))\n#3
> {main}\n  thrown in /usr/share/grase/src/Grase/Database/Upgrade.php on line
> 364
>
>
> thank you tim
>
> On Saturday, September 6, 2014 10:52:13 AM UTC+4:30, timwhite88 wrote:
>>
>> This sounds like the cron function didn't run at package install time.
>> Just goto localhost/grase/radmin/cron.php (replace localhost with the
>> correct server ip) and check for any fatal errors when the Cron script
>> tries to run.
>>
>> Tim
>>
>>
>> On Sat, Sep 6, 2014 at 4:17 PM, Mohammad Javad Ra'adi <
>> pe***.@gmail.com> wrote:
>>
>>> There was no fatal PHP error in appache log file but i found this on
>>> radius log file:
>>> Error: rlm_sql (sql) in sql_postauth: Database query error - Unknown
>>> column 'ServiceType' in 'field list'
>>> i get this line every time i try to login with a voucher.
>>> what should i do?
>>>
>>> On Saturday, September 6, 2014 10:18:48 AM UTC+4:30, timwhite88 wrote:
>>>
>>>> On Sat, Sep 6, 2014 at 3:13 PM, Mohammad Javad <pe***.@gmail.com>
>>>> wrote:
>>>>
>>>>> I tried everything from the beginning and yes i was able to see groups
>>>>> and creating new groups was fine. But I'm not able to login on the client
>>>>> side. It says: "login failed due to sever error. Please try again". What
>>>>> should i do? where can i see the log files?
>>>>> Thanks tim
>>>>>
>>>>> First thing would be to check for fatal PHP errors in the apache error
>>>> log.
>>>> Otherwise, check in the freeradius radius.log and see if that helps.
>>>> Normally that error suggests that freeradius isn't running, or the perl
>>>> module has errored. (So check that freeradius is actually running).
>>>>
>>>> Tim
>>>>
>>>  --
>>> This mailing list is for the Grase Hotspot Project
>>> http://grasehotspot.org
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Grase Hotspot" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to gr***.@grasehotspot.org.
>>> To post to this group, send email to gr***.@grasehotspot.org.
>>> Visit this group at http://groups.google.com/a/
>>> grasehotspot.org/group/grase-hotspot/.
>>> To view this discussion on the web visit https://groups.google.com/a/
>>> grasehotspot.org/d/msgid/grase-hotspot/baae000b-d5c3-
>>> 4794-a256-5d81e796ea51%40grasehotspot.org
>>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/baae000b-d5c3-4794-a256-5d81e796ea51%40grasehotspot.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>  --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/5e7709a7-f00a-4600-8392-3668366b3ccf%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/5e7709a7-f00a-4600-8392-3668366b3ccf%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>

Thread