Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

WAMP - The connection was reset

[es] :: PHP :: WAMP - The connection was reset

[ Pregleda: 1874 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Alexxandar
Aleksandar Jovanović
Freelancer/Part time developer
127.0.0.1

Član broj: 16375
Poruke: 84
92.244.137.*



+59 Profil

icon WAMP - The connection was reset27.08.2011. u 20:54 - pre 153 meseci
Skoro sam backupovao Joomla sajt na kome radim sa web servera ali iz nekog razloga nikako neće da radi na lokalnom WAMPu. Interesantno je da je napravljen prvo na tom istom WAMPu pa uploadovan i sada nekoliko meseci kasnije dolazi do neobične greške.

Dakle krene da učitava sajt, vidim kako je otvorio celu stranicu i baš u trenutku kada to učitavanje treba da dođe do kraja, sve nestane i dobijem poruku "The connection was reset. The connection to the server was reset while the page was loading."

Pokušao sam da stavim drugu verziju PHP-a(imao sam 5.3.0 koji je malo buggy i hoće da izaziva tu grešku). Takođe u menjao sam i verzije WAMPa, prvo sam stavio najnoviju 64bitnu(mislim da su mi i druge stvari s njom bagovale), pa onda vratio na 32bitnu ali problem ostaje. Evo šta Apache error log kaže:
Code:
[Sat Aug 27 21:32:50 2011] [alert] [client 127.0.0.1] C:/Users/Alexxandar/Documents/WWW/Projects/CarProject/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Aug 27 21:32:51 2011] [alert] [client 127.0.0.1] C:/Users/Alexxandar/Documents/WWW/Projects/menjacnicedok.rs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Aug 27 21:32:51 2011] [alert] [client 127.0.0.1] C:/Users/Alexxandar/Documents/WWW/Projects/www.logitechshop.rs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Aug 27 21:32:51 2011] [alert] [client 127.0.0.1] C:/Users/Alexxandar/Documents/WWW/Projects/www.logitechshop.rs-stari/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Aug 27 21:32:51 2011] [alert] [client 127.0.0.1] C:/Users/Alexxandar/Documents/WWW/Projects/www.menjacnicedok.rs - original/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP Notice:  Undefined property: stdClass::$cachable in C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\environment\\response.php on line 52, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   1. JSession->__destruct() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\session\\session.php:0, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   2. JSession->close() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\session\\session.php:135, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   3. session_write_close() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\session\\session.php:529, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   4. JSessionStorageDatabase->write() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\session\\storage\\database.php:0, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   5. JTable->store() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\session\\storage\\database.php:92, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   6. JFDatabase->updateObject() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\database\\table.php:285, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   7. JDatabaseMySQL->updateObject() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\plugins\\system\\jfdatabase\\jfdatabase_inherit.php:602, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   8. JFDatabase->query() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\database\\database\\mysql.php:583, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP   9. interceptDB->setRefTables() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\plugins\\system\\jfdatabase\\jfdatabase_inherit.php:642, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  10. interceptDB->_getFieldCount() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\plugins\\system\\jfdatabase\\intercept.jdatabasemysql.php:225, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  11. JError->raiseError() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\plugins\\system\\jfdatabase\\intercept.jdatabasemysql.php:79, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  12. JError->raise() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\error\\error.php:171, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  13. JError->handleCallback() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\error\\error.php:143, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  14. call_user_func() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\error\\error.php:530, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  15. JError::customErrorPage() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\error\\error.php:0, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  16. JResponse::toString() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\error\\error.php:576, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [error] [client 127.0.0.1] PHP  17. JResponse::allowCache() C:\\Users\\Alexxandar\\Documents\\WWW\\Projects\\DuPropriAuto1\\libraries\\joomla\\environment\\response.php:197, referer: http://localhost/Projects/
[Sat Aug 27 21:33:11 2011] [notice] Parent: child process exited with status 255 -- Restarting.
[Sat Aug 27 21:33:12 2011] [notice] Apache/2.2.17 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Sat Aug 27 21:33:12 2011] [notice] Server built: Oct 18 2010 01:58:12
[Sat Aug 27 21:33:12 2011] [notice] Parent: Created child process 4152
[Sat Aug 27 21:33:12 2011] [notice] Child 4152: Child process is running
[Sat Aug 27 21:33:12 2011] [notice] Child 4152: Acquired the start mutex.
[Sat Aug 27 21:33:12 2011] [notice] Child 4152: Starting 64 worker threads.
[Sat Aug 27 21:33:12 2011] [notice] Child 4152: Starting thread to listen on port 80.


Ja zaista ne razumem kako jedna PHP greška može da izazove restart apache???
 
Odgovor na temu

Milan Kragujevic
Software Engineer

Član broj: 231903
Poruke: 2220
*.dynamic.isp.telekom.rs.

Sajt: https://milankragujevic.c..


+201 Profil

icon Re: WAMP - The connection was reset28.08.2011. u 11:48 - pre 153 meseci
Koji OS koristiš?
x64 ili x86 (64 ili 32 bita)
Da li si menjao putanje Joomle da se slažu sa trenutnom lokacijom?
 
Odgovor na temu

Alexxandar
Aleksandar Jovanović
Freelancer/Part time developer
127.0.0.1

Član broj: 16375
Poruke: 84
92.244.137.*



+59 Profil

icon Re: WAMP - The connection was reset28.08.2011. u 12:05 - pre 153 meseci
Windows 7 Ultimate 64bit, da podesio sam sve putanje...
Mali update stavio sam verziju Wampa sa PHP 5.2.9-2 i stranica se normalno učita ali na dnu svake stranice piše 500 No valid connection to DB. Promenio sam tip DB u mysqli i konačno sve normalno funkcioniše... ali ipak kako to da ovaj problem pre nije postojao :P
 
Odgovor na temu

Milan Kragujevic
Software Engineer

Član broj: 231903
Poruke: 2220
*.dynamic.isp.telekom.rs.

Sajt: https://milankragujevic.c..


+201 Profil

icon Re: WAMP - The connection was reset28.08.2011. u 12:06 - pre 153 meseci
Najverovatnije si imao pogrešnu verziju php-a, pogrešnu verziju baze, i 32-bitno verziju WAMPP-a
 
Odgovor na temu

Alexxandar
Aleksandar Jovanović
Freelancer/Part time developer
127.0.0.1

Član broj: 16375
Poruke: 84
92.244.137.*



+59 Profil

icon Re: WAMP - The connection was reset28.08.2011. u 12:11 - pre 153 meseci
Ali kako je prava verzija(na kojoj je sajt napravljen) u međuvremenu postala pogrešna? :)
 
Odgovor na temu

Milan Kragujevic
Software Engineer

Član broj: 231903
Poruke: 2220
*.dynamic.isp.telekom.rs.

Sajt: https://milankragujevic.c..


+201 Profil

icon Re: WAMP - The connection was reset29.08.2011. u 20:49 - pre 153 meseci
Ne znam.
Obriši WAMPP i stavi XAMPP.
Pa probaj ponovo :)
 
Odgovor na temu

Zmaj
Predrag Krstić
web developer
Zrenjanin

Član broj: 1035
Poruke: 382

Sajt: https://pkrstic.wordpress..


+4 Profil

icon Re: WAMP - The connection was reset29.08.2011. u 21:51 - pre 153 meseci
Pored toga sto ti WAMP-ovi nisu isto podeseni, posto si rekao da si stavio novi, imas i problem sa verzijom PHP, radio si sajt na 5.2.9 (ili neki manji), a sad si stavio poslednji PHP. Moj savet ti je da ako ne znas da podesis Apache i PHP, da ne radis tako cesto update, localhost ti nije kritican za razvoj sajtova koje radis, narocito u Joomli. Recimo ja i dalje teram localhost na 5.2.9, jer na poslu radim na nekom kodu koji nije pisan skroz "cisto" pa dobijam razne notice i warninge ako instaliram noviji PHP. Za licnu potrebe koristim server sa PHP 5.3.x (ne znam koji tacno, mislim da je 5.3.4).
 
Odgovor na temu

[es] :: PHP :: WAMP - The connection was reset

[ Pregleda: 1874 | Odgovora: 6 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.