Jump to content

Recommended Posts

Posted

Наваяли простенькую статистику для абонентов.

работает только с мусклем.

если будут желающие - выложу исходники и инструкцию.

написано на php

post-3672-1257972255,2708_thumb.png

Posted

Нужно чтобы база старгейзера была в мускуле или мускуль нужен только для статистики?

Posted

думаю статистика берется из базы старгейзера, которая лежит в mysql :)

 

Автор ау отзовись :D

  • 2 weeks later...
Posted

вот-с.

инструкции к сожалению нет - некогда.

DocumentRoot должен указывать в каталог "www" ( тот что внутри архива )

конфиг в xml совершенно прозрачный.

база в мускле.

 

по желанию трудящихся можно допилить.

stg_webstat.tar.gz

Posted

Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead in /usr/local/apache2/htdocs/usr/library/JPGraph/jpgraph.php on line 390

 

 

:rolleyes:

 

это исправил а дальше

 

The requested URL /usr/www/auth was not found on this server.

:)

Posted

documentroot в апаче точно указывает в www ?

еще. в www .htaccess вот такой должен быть:

----

RewriteEngine On

RewriteRule !\.(js|ico|gif|jpg|png|css|zip|gz|html|xml|json)$ index.php

----

там в архиве в нем возможно две строки лишние

  • 4 weeks later...
Posted

всем привет

вот такая беда

 

логи виртуал хвоста

 

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone sett

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone sett

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone sett

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone sett

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strftime() [<a href='function.strftime'>function.strftime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting

 

ну и после ввода данных в поле авторизации в логах вылазит вот это

 

 

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth, referer: http://statistic.aqualan.kiev.ua/auth/login'>http://statistic.aqualan.kiev.ua/auth/login'>http://statistic.aqualan.kiev.ua/auth/login'>http://statistic.aqualan.kiev.ua/auth/login

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth, referer: http://statistic.aqualan.kiev.ua/auth/login

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth, referer: http://statistic.aqualan.kiev.ua/auth/login

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth, referer: http://statistic.aqualan.kiev.ua/auth/login

[Tue Dec 22 19:39:56 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth

 

 

вируал хост собственно

 

<VirtualHost 194.187.130.32:80>

ServerAdmin xxxxxxxxxxxxxxxx.xxxxxxxx.xxxxxx

DocumentRoot "/var/www/statistic.aqualan.kiev.ua/www"

ServerName statistic.aqualan.kiev.ua

ErrorLog "/var/www/statistic.aqualan.kiev.ua/www/error_log"

CustomLog "/var/www/statistic.aqualan.kiev.ua/www/access_log" common

<Directory "/var/www/statistic.aqualan.kiev.ua/">

AllowOverride all

Options None

Order allow,deny

Allow from 10.4.160.0/21

Options +FollowSymLinks

</Directory>

AddDefaultCharset win-1251

LanguagePriority

ServerAlias www.statistic.aqualan.kiev.ua

</VirtualHost>

----------------------------------

 

апач 2,2 пхп 5,2,9 зенд 2,2

 

Есть идеи ?

Posted

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone sett

пробуй date_default_timezone_set();

 

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth, referer: http://statistic.aqualan.kiev.ua/auth/login

 

Раз каже , що нема auth, знач його нема

Posted

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] PHP Strict Standards: strtotime() [<a href='function.strtotime'>function.strtotime</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone sett

пробуй date_default_timezone_set();

 

[Tue Dec 22 19:39:55 2009] [error] [client 10.4.160.38] File does not exist: /var/www/statistic.aqualan.kiev.ua/www/auth, referer: http://statistic.aqualan.kiev.ua/auth/login

 

Раз каже , що нема auth, знач його нема

 

с первым понятно, спасибо, а вот по поводу второго - вопрос к разработчику, ни папки ни файла такого действительно нет, я проверил - краснокожий не обманул !

  • 3 months later...
Posted

вот лажа, уведомления что-то не приходят :-(

такого файла и не будет. тама zend генерит.

если так ругается, то похоже что у вас проблемы с mod_rewrite

Posted

кстати есть новая версия, добавили по просьбе нашего начальнега возможность просмотра логов по пользователю.

постараюсь выложить на днях.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...