iMt2 Homepage Script [ALPHA]

04/24/2012 22:47 werdernator#76
Quote:
Originally Posted by M@shkin View Post
Naja... selbst gesetzte Stilvorgaben einzuhalten ist schon manchmal nervig... :o
das ist die herausforderung ^^
meine final page ist auch komplett oop. ist vor allem leicht erweiterbar.
kanns nur jedem empfehlen, der normales php bereits zu großen teilen beherrscht.
04/24/2012 23:41 TakeItReal#77
exception 'ErrorException' with message 'Undefined property: database::$hp' in /public_html/inc/plugins/ranking/buildcache.inc.php:18
Stack trace:
/public_html/inc/plugins/ranking/buildcache.inc.php(18): exception_error_handler(8, 'Undefined prope...', '/...', 18, Array)
/public_html/inc/plugins/sbranking/sbranking.sb.php(23): include('/...')
/public_html/inc/classes/build.class.php(34): include('/...')
/public_html/index.php(16): build->build()
#4 {main}

Was hab ich falsch gemacht?
04/25/2012 00:27 iMer#78
Quote:
Originally Posted by TakeItReal View Post
exception 'ErrorException' with message 'Undefined property: database::$hp' in /public_html/inc/plugins/ranking/buildcache.inc.php:18
Stack trace:
/public_html/inc/plugins/ranking/buildcache.inc.php(18): exception_error_handler(8, 'Undefined prope...', '/...', 18, Array)
/public_html/inc/plugins/sbranking/sbranking.sb.php(23): include('/...')
/public_html/inc/classes/build.class.php(34): include('/...')
/public_html/index.php(16): build->build()
#4 {main}

Was hab ich falsch gemacht?
Habe den Fehler grade behoben.
Musst die inc/plugins/ranking/buildcache.inc.php updaten, dann sollte alles laufen
Edit:
Zusätzlich dazu führt er nun das Cache Building im Hintergrund aus.
Siehe:
[Only registered and activated users can see links. Click Here To Register...]
Das ganze scheint eine sinnvolle Alternative zu sein, solang die Website nicht zu stark besucht ist und die Datenbank nicht zu groß ist.
04/25/2012 15:12 katharsismt2#79
Hello
Ich habe ein Problem:
exception 'ErrorException' with message 'mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111' in /home/pp/public_html/priv-metin2/inc/classes/database.class.php:15
Stack trace:
#0 /home/pp/public_html/priv-metin2/inc/classes/database.class.php(15): exception_error_handler('xxxx', 'root', 'passxxx:)')
#1 /home/pp/public_html/priv-metin2/inc/classes/database.class.php(12): database->create('game', Array)
#2 /home/pp/public_html/priv-metin2/inc/classes/build.class.php(22): database->__construct()
#3 /home/pp/public_html/priv-metin2/index.php(16): build->build()
#4 {main}
Mysql und alles funktioniert nur ein paar Fehler ...
mir jemand helfen?!
04/25/2012 19:48 iMer#80
Quote:
Originally Posted by katharsismt2 View Post
Hello
Ich habe ein Problem:
exception 'ErrorException' with message 'mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111' in /home/pp/public_html/priv-metin2/inc/classes/database.class.php:15
Stack trace:
#0 /home/pp/public_html/priv-metin2/inc/classes/database.class.php(15): exception_error_handler('xxxx', 'root', 'passxxx:)')
#1 /home/pp/public_html/priv-metin2/inc/classes/database.class.php(12): database->create('game', Array)
#2 /home/pp/public_html/priv-metin2/inc/classes/build.class.php(22): database->__construct()
#3 /home/pp/public_html/priv-metin2/index.php(16): build->build()
#4 {main}
Mysql und alles funktioniert nur ein paar Fehler ...
mir jemand helfen?!
Die MySQL connection schlägt fehl :)
04/29/2012 15:10 mufkeksy#81
Bei mir komm der Fehler:
PHP Code:
Help!
exception 'Exception' with message 'I could not find the page 'imt2' you where looking for.
I am sorry :(' 
in C:\xampp\htdocs\imt2\index.php:9
Stack trace
:
#0 {main} 
04/29/2012 16:03 iMer#82
Quote:
Originally Posted by mufkeksy View Post
Bei mir komm der Fehler:
PHP Code:
Help!
exception 'Exception' with message 'I could not find the page 'imt2' you where looking for.
I am sorry :(' 
in C:\xampp\htdocs\imt2\index.php:9
Stack trace
:
#0 {main} 
Hast du die Baseurl angepasst?
[Only registered and activated users can see links. Click Here To Register...] in deinem Fall
Dann müsstest du evtl auch noch die .htaccess anpassen:
RewriteBase / -> RewriteBase /imt2
RewriteRule ^(.*)/?$ /index.php [L,QSA] -> RewriteRule ^(.*)/?$ index.php [L,QSA]
04/30/2012 20:27 MarcosCC#83
Help!

exception 'Exception' with message 'I could not find the page 'index.php' you where looking for.
I am sorry :(' in C:\xampp\htdocs\index.php:9
Stack trace:
#0 {main}


Where is problem plz help??????
04/30/2012 21:11 iMer#84
Quote:
Originally Posted by MarcosCC View Post
Help!

exception 'Exception' with message 'I could not find the page 'index.php' you where looking for.
I am sorry :(' in C:\xampp\htdocs\index.php:9
Stack trace:
#0 {main}


Where is problem plz help??????
Um..
Does it work when you access it without the index.php?
Cant replicate the error (it works when accessing the index.php)
05/01/2012 00:13 *Casi*#85
Was ist das für ein Fehler? und wieso stehen dort die mysql Daten?

PHP Code:
NoticeUndefined indexsession_name in /srv/web/public/index.php on line 5 NoticeUndefined indextimezone in /srv/web/public/inc/common.inc.php on line 10 Noticedate_default_timezone_set(): Timezone ID '' is invalid in /srv/web/public/inc/common.inc.php on line 10
Help
!
exception 'ErrorException' with message 'mysql_connect(): Access denied for user 'casi'@'localhost' (using password: YES)' in /srv/web/public/inc/classes/database.class.php:15
Stack trace
:
#0 [internal function]: exception_error_handler(2, 'mysql_connect()...', '/srv/web/public...', 15, Array)
#1 /srv/web/public/inc/classes/database.class.php(15): mysql_connect('localhost', 'casi', '123456')
#2 /srv/web/public/inc/classes/database.class.php(12): database->create('game', Array)
#3 /srv/web/public/inc/classes/build.class.php(23): database->__construct()
#4 /srv/web/public/index.php(16): build->build()
#5 {main} 
05/01/2012 00:14 iMer#86
Quote:
Originally Posted by *Casi* View Post
was ist das der fehler schreibt sogar die mysql daten raus

PHP Code:
NoticeUndefined indexsession_name in /srv/web/public/index.php on line 5 NoticeUndefined indextimezone in /srv/web/public/inc/common.inc.php on line 10 Noticedate_default_timezone_set(): Timezone ID '' is invalid in /srv/web/public/inc/common.inc.php on line 10
Help
!
exception 'ErrorException' with message 'mysql_connect(): Access denied for user 'casi'@'localhost' (using password: YES)' in /srv/web/public/inc/classes/database.class.php:15
Stack trace
:
#0 [internal function]: exception_error_handler(2, 'mysql_connect()...', '/srv/web/public...', 15, Array)
#1 /srv/web/public/inc/classes/database.class.php(15): mysql_connect('localhost', 'casi', '123456')
#2 /srv/web/public/inc/classes/database.class.php(12): database->create('game', Array)
#3 /srv/web/public/inc/classes/build.class.php(23): database->__construct()
#4 /srv/web/public/index.php(16): build->build()
#5 {main} 
Update mal bitte das Script - du benutzt ne relativ alte Version.
Fehler ist: "..with message 'mysql_connect(): Access denied for user 'casi'@'localhost' (using password: YES)' .."
05/01/2012 15:12 5203307a#87
Code:
Help!
exception 'ErrorException' with message 'mysql_fetch_object(): supplied argument is not a valid MySQL result resource' in D:\xampp\htdocs\inc\plugins\statistics\statistics.sb.php:16
Stack trace:
#0 [internal function]: exception_error_handler(2, 'mysql_fetch_obj...', 'D:\xampp\htdocs...', 16, Array)
#1 D:\xampp\htdocs\inc\plugins\statistics\statistics.sb.php(16): mysql_fetch_object(false)
#2 D:\xampp\htdocs\inc\classes\build.class.php(29): include('D:\xampp\htdocs...')
#3 D:\xampp\htdocs\index.php(16): build->build()
#4 {main}
Can you help me?
05/01/2012 15:15 _sasu#88
das Design spricht mich wirklich an :) sieht sehr gut aus
05/01/2012 17:04 *Casi*#89
Quote:
Originally Posted by iMer View Post
Update mal bitte das Script - du benutzt ne relativ alte Version.
Fehler ist: "..with message 'mysql_connect(): Access denied for user 'casi'@'localhost' (using password: YES)' .."
Danke habe mal neu geladen und selben fehler

PHP Code:
Help!
exception 'Exception' with message 'I could not connect to the database connection game! :/Access denied for user 'casi'@'localhost' (using password: YES)' in /srv/web/public/inc/classes/database.class.php:12
Stack trace
:
#0 /srv/web/public/inc/classes/build.class.php(23): database->__construct()
#1 /srv/web/public/index.php(16): build->build()
#2 {main} 
Nutze Nginx
05/01/2012 18:01 Gawa™#90
sehr gut, das PLugin gefällt mir...

grüße