Problem sa pokretanjem na lokalu

1

Problem sa pokretanjem na lokalu

offline
  • Programer
  • Pridružio: 23 Maj 2012
  • Poruke: 4575

Imam veliki problem sa skriptama koje pokrenem na lokalu, evo naprimer ova wamp/www/index.php (znate na koju stranu mislim, glavnu WAMP stranu na lokalu):



Ne znam šta je to odjednom, da nisam nešto slučajno zeznuo oko PHP-a?

I to mi se redovno dešava, HTML elemente očita super, ali PHP nikako.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 16 Jan 2010
  • Poruke: 241
  • Gde živiš: Zemun

Pa proveri da li je Apache server aktiviran.



offline
  • Srđan Tot
  • Am I evil? I am man, yes I am.
  • Pridružio: 12 Jul 2005
  • Poruke: 2483
  • Gde živiš: Ljubljana

Apache server je aktiviran jer mu vrati stranicu. PHP, s druge strane, očigledno ne radi. Predlažem ti da pogledaš logove i da iz njih vidiš šta se tačno dešava.

offline
  • Programer
  • Pridružio: 23 Maj 2012
  • Poruke: 4575

Aktiviran je jer inače neće da mi prikaže PHP stranicu.

Evo svih logova:

Arrow Apache

[Thu Jun 06 19:44:36 2013] [notice] Apache/2.2.22 (Win32) PHP/5.3.13 configured -- resuming normal operations [Thu Jun 06 19:44:36 2013] [notice] Server built: May 13 2012 13:32:42 [Thu Jun 06 19:44:36 2013] [notice] Parent: Created child process 1068 [Thu Jun 06 19:44:36 2013] [notice] Child 1068: Child process is running [Thu Jun 06 19:44:36 2013] [notice] Child 1068: Acquired the start mutex. [Thu Jun 06 19:44:36 2013] [notice] Child 1068: Starting 64 worker threads. [Thu Jun 06 19:44:36 2013] [notice] Child 1068: Starting thread to listen on port 80. [Thu Jun 06 19:44:36 2013] [notice] Child 1068: Starting thread to listen on port 80.

Arrow MySQL
130606 19:14:13 [Note] Plugin 'FEDERATED' is disabled. 130606 19:14:13 InnoDB: The InnoDB memory heap is disabled 130606 19:14:13 InnoDB: Mutexes and rw_locks use Windows interlocked functions 130606 19:14:13 InnoDB: Compressed tables use zlib 1.2.3 130606 19:14:13 InnoDB: Initializing buffer pool, size = 128.0M 130606 19:14:13 InnoDB: Completed initialization of buffer pool InnoDB: The first specified data file .\ibdata1 did not exist: InnoDB: a new database to be created! 130606 19:14:13  InnoDB: Setting file .\ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 130606 19:14:14  InnoDB: Log file .\ib_logfile0 did not exist: new to be created InnoDB: Setting log file .\ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 130606 19:14:14  InnoDB: Log file .\ib_logfile1 did not exist: new to be created InnoDB: Setting log file .\ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: 127 rollback segment(s) active. InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 130606 19:14:15  InnoDB: Waiting for the background threads to start 130606 19:14:16 InnoDB: 1.1.8 started; log sequence number 0 130606 19:14:16 [Note] Server hostname (bind-address): '(null)'; port: 3306 130606 19:14:16 [Note]   - '(null)' resolves to '::'; 130606 19:14:16 [Note]   - '(null)' resolves to '0.0.0.0'; 130606 19:14:16 [Note] Server socket created on IP: '0.0.0.0'. 130606 19:14:16 [Note] Event Scheduler: Loaded 0 events 130606 19:14:16 [Note] wampmysqld: ready for connections. Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL) 130606 19:44:33 [Note] wampmysqld: Normal shutdown 130606 19:44:33 [Note] Event Scheduler: Purging the queue. 0 events 130606 19:44:33  InnoDB: Starting shutdown... 130606 19:44:33  InnoDB: Shutdown completed; log sequence number 1595675 130606 19:44:33 [Note] wampmysqld: Shutdown complete 130606 19:44:37 [Note] Plugin 'FEDERATED' is disabled. 130606 19:44:37 InnoDB: The InnoDB memory heap is disabled 130606 19:44:37 InnoDB: Mutexes and rw_locks use Windows interlocked functions 130606 19:44:37 InnoDB: Compressed tables use zlib 1.2.3 130606 19:44:37 InnoDB: Initializing buffer pool, size = 128.0M 130606 19:44:37 InnoDB: Completed initialization of buffer pool 130606 19:44:37 InnoDB: highest supported file format is Barracuda. 130606 19:44:37  InnoDB: Waiting for the background threads to start 130606 19:44:38 InnoDB: 1.1.8 started; log sequence number 1595675 130606 19:44:38 [Note] Server hostname (bind-address): '(null)'; port: 3306 130606 19:44:38 [Note]   - '(null)' resolves to '::'; 130606 19:44:38 [Note]   - '(null)' resolves to '0.0.0.0'; 130606 19:44:38 [Note] Server socket created on IP: '0.0.0.0'. 130606 19:44:39 [Note] Event Scheduler: Loaded 0 events 130606 19:44:39 [Note] wampmysqld: ready for connections. Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL) 130606 22:20:47 [Note] wampmysqld: Normal shutdown 130606 22:20:47 [Note] Event Scheduler: Purging the queue. 0 events 130606 22:20:48  InnoDB: Starting shutdown... 130606 22:20:49  InnoDB: Shutdown completed; log sequence number 1595675 130606 22:20:49 [Note] wampmysqld: Shutdown complete 130608 12:03:45 [Note] Plugin 'FEDERATED' is disabled. 130608 12:03:45 InnoDB: The InnoDB memory heap is disabled 130608 12:03:45 InnoDB: Mutexes and rw_locks use Windows interlocked functions 130608 12:03:45 InnoDB: Compressed tables use zlib 1.2.3 130608 12:03:45 InnoDB: Initializing buffer pool, size = 128.0M 130608 12:03:45 InnoDB: Completed initialization of buffer pool 130608 12:03:45 InnoDB: highest supported file format is Barracuda. 130608 12:03:46  InnoDB: Waiting for the background threads to start 130608 12:03:47 InnoDB: 1.1.8 started; log sequence number 1595675 130608 12:03:47 [Note] Server hostname (bind-address): '(null)'; port: 3306 130608 12:03:47 [Note]   - '(null)' resolves to '::'; 130608 12:03:47 [Note]   - '(null)' resolves to '0.0.0.0'; 130608 12:03:47 [Note] Server socket created on IP: '0.0.0.0'. 130608 12:03:47 [Note] Event Scheduler: Loaded 0 events 130608 12:03:47 [Note] wampmysqld: ready for connections. Version: '5.5.24-log'  socket: ''  port: 3306  MySQL Community Server (GPL)

offline
  • C# and PHP Developer
  • Pridružio: 16 Feb 2011
  • Poruke: 1630
  • Gde živiš: Pancevo

Jednoga dana ces se sam sebi smejati kad budes video sta si napisao, ali otom potom.

offline
  • m4rk0  Male
  • Administrator
  • Administrator tech foruma
  • Marko Vasić
  • Gladijator - Maximus Decimus Meridius
  • Pridružio: 14 Jan 2005
  • Poruke: 15766
  • Gde živiš: Majur (Colosseum)

@E.L.I.T.E.

WAMP = Windows, Apache, MySQL, PHP/Perl/Python

offline
  • Pridružio: 20 Jun 2012
  • Poruke: 165
  • Gde živiš: Beograd

Ma instaliraj XAMPP i radice sve veruj mi Smile

offline
  • Pridružio: 13 Sep 2012
  • Poruke: 2138

Probaj reinstalaciju WAMP paketa, ja sam tako rešio svaki problem sa wamp-om

offline
  • Programer
  • Pridružio: 23 Maj 2012
  • Poruke: 4575

_iKaC ::Jednoga dana ces se sam sebi smejati kad budes video sta si napisao, ali otom potom.

Baš se sad smejem Laughing

m4rk0 ::@E.L.I.T.E.

WAMP = Windows, Apache, MySQL, PHP/Perl/Python


@m4rk0 - znam, zezn'o sam se. Pomešao sam sa onim što je Srki pisao.

Koje onda log fajlove da vam pokažem? Log za PHP neće, kaže da ga nema na lokaciji C:/wamp/www/error_php.log

offline
  • Pridružio: 16 Jan 2010
  • Poruke: 241
  • Gde živiš: Zemun

JohnnieBGD ::Ma instaliraj XAMPP i radice sve veruj mi Smile

Ko je trenutno na forumu
 

Ukupno su 792 korisnika na forumu :: 12 registrovanih, 0 sakrivenih i 780 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: 357magnum, A.R.Chafee.Jr., Dorcolac, drimer, kolle.the.kid, Koridor, Lazarus, ozzy, SlaKoj, strelac07, suton, yrraf