Problem with wamp server after reinstallation Zend
Posted by: santtz (220.255.7.---)
Date: October 25, 2008 07:47AM

Hi all,

I am having a serious problem with my wamp server, this is what I had done:

1. Using IIS to run php, mysql (everything are ok) - manual configuration
2. Uninstall PHP, Mysql and stop IIS server
3. Install wamp server (it seems like the php setting is still remains as what I had configured in my IIS) - everything works perfectly in this states
4. Install Zend - everything remains
5. Uninstall Zend - Here my problems occur, it seems like when uninstalling Zend all of my php setting has been changed and I am not able to run my php properly.
6. Try to uninstall Wamp and reinstall wamp server and problem still remains as state 5. (at least done for 3 times)

Part of the PHP error log would be as follow:
[25-Oct-2008 13:34:16] PHP Warning: session_destroy() [<a href='function.session-destroy'>function.session-destroy</a>]: Trying to destroy uninitialized session in C:\wamp\www\Encus\index.php on line 8

[25-Oct-2008 13:36:24] PHP Fatal error: Call to a member function Select() on a non-object in C:\wamp\www\Encus-Backup\20-10-2008(1)\index.php on line 31

[25-Oct-2008 13:36:36] PHP Fatal error: Call to a member function Select() on a non-object in C:\wamp\www\Encus-Backup\20-10-2008\index.php on line 31

[25-Oct-2008 13:36:38] PHP Warning: session_destroy() [<a href='function.session-destroy'>function.session-destroy</a>]: Trying to destroy uninitialized session in C:\wamp\www\Encus-Backup\24-10-2008\index.php on line 8

[25-Oct-2008 13:36:41] PHP Warning: session_destroy() [<a href='function.session-destroy'>function.session-destroy</a>]: Trying to destroy uninitialized session in C:\wamp\www\Encus-Backup\24-10-2008\index.php on line 8

[25-Oct-2008 13:36:41] PHP Fatal error: Call to a member function Select() on a non-object in C:\wamp\www\Encus-Backup\24-10-2008\index.php on line 30



And part of Apache error log would be as follow:
[Sat Oct 25 13:36:19 2008] [error] [client 127.0.0.1] (20024)The given path misformatted or contained invalid characters: Cannot map GET /Encus-Backup/20-10-2008/%3C?echo%20$path->html_GLOBAL_CSS_path();?> HTTP/1.1 to file, referer: [localhost]

[Sat Oct 25 13:36:21 2008] [error] [client 127.0.0.1] (20024)The given path misformatted or contained invalid characters: Cannot map GET /Encus-Backup/20-10-2008(1)/%3C?echo%20$path->html_GLOBAL_CSS_path();?> HTTP/1.1 to file, referer: [localhost]

[Sat Oct 25 13:36:30 2008] [error] [client 127.0.0.1] (20024)The given path misformatted or contained invalid characters: Cannot map GET /Encus-Backup/20-10-2008(1)/%3C?echo%20$path->html_GLOBAL_CSS_path();?> HTTP/1.1 to file, referer: [localhost]



I am not really sure if it is because of my php setting or Apache? But note that I have not made any setting changes in php.ini. I am just doing a pure reinstallation of Wamp server.
I am running with Windows XP Pro SP 2 and has been using WAMP server for the past 6 months with no problem until uninstall the ZEND. Please could somebody help me with this?

Options: ReplyQuote
Re: Problem with wamp server after reinstallation Zend
Posted by: santtz (220.255.7.---)
Date: October 25, 2008 08:07AM

Guys I have found my solution, now I understand why my application unable to run, because actually apache is running on php.ini which located in apache folder instead of the one in php folder. So after I updated that file now everything is perfectly running again.

Grrr, it wasted 8 hours of debugging

Options: ReplyQuote


Sorry, only registered users may post in this forum.