xxsashixx Posted April 10, 2009 Share Posted April 10, 2009 Hey guys, URGENT problem needs fixing asap. When a client orders and proceeds with the order, and then checks out, there should be a page that has the invoice information, well nothing, its a blank page. (cart.php?checkout) When client presses complete order it turns up blank page. Also in the admin panel it says $0.00 no invoice yet the client DOES have the invoice created already.. 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - So, what did you change/modify? Have you looked at your own error logs? Depending on the urgency, you should take a look at that. Apache's error log, enable error_log per php.ini, etc etc. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
xxsashixx Posted April 10, 2009 Author Share Posted April 10, 2009 Nothing has been changed since I have moved servers 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - Moving servers is a *big* change. Enable logging. Look at the logs. It'll be clear as daylight as to what's wrong. More than likely, PHP is complaining about something rather important. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
xxsashixx Posted April 10, 2009 Author Share Posted April 10, 2009 (edited) I'm using Lighttpd not apache so where would my php error logs be? Edited April 10, 2009 by xxsashixx 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - Come on, man, put some effort in to your own problem. The principal is the same. Have you configured Lighty to use PHP? If so, it would be as a CGI. Regardless of that, look for your error_log in php.ini. You can find php.ini by: php -i | grep php.ini Enable logging. Look at Lighty's logs. It will be perfectly clear as to why this is not working. Why are you using Lighty? Do you have a specific need to use this, or did you just read on some forum somewhere where some kid said "it is really really fast"? Unless you have a specific need for it, Apache is what you should be using. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
xxsashixx Posted April 10, 2009 Author Share Posted April 10, 2009 No I do have a specific reason of using lighttpd it has been working before..also lighttpd error logs have nothing in them 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - I'd go back to Apache, and - again - look at your logs. PHP logs, in particular. This is the only way to figure out what's going on. I've detailed these steps above. Good luck. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted April 10, 2009 Share Posted April 10, 2009 also lighttpd error logs have nothing in them then you dont have it installed and configured correctly - these are fundamental issues that need fixing *before* you think about applications like WHMCS and clients ... 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - Not trying to hassle you, Sashi, but Rob is right; you need to put forth some effort in to this, maybe even as much as I've already put in to helping you. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
xxsashixx Posted April 10, 2009 Author Share Posted April 10, 2009 I had it working fine BEFORE i moved servers WITH Lightty 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - Ok, but let's go over this again: Moving. Servers. Is. A. Big. Change. I think this thread is done. We can only help so much without you going the extra step as to provide some details. Post error logs and we would be happy to help. Otherwise this is a lost cause. Thanks! -dant 0 Quote Link to comment Share on other sites More sharing options...
xxsashixx Posted April 10, 2009 Author Share Posted April 10, 2009 Well.. I'm trying to enable the logs but it doesnt seem to write to file.. 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 (edited) Hi - Here's some hand holding.... php -i | grep "Loaded Configuration File"|cut -d" " -f 5 | xargs sudo sed -i 's/^;error_log.*$/error_log = \/var\/log\/php.log/' sudo /etc/init.d/lighttpd stop && sudo /etc/init.d/lighttpd start tail -f /var/log/php.log Look for errors. Exact errors. Copy and paste them in here. Don't paraphrase; they need to be the exact - byte for byte - errors that you're getting. Thanks -dant Edited April 10, 2009 by dan.trainor Using Lighty, not Apache 0 Quote Link to comment Share on other sites More sharing options...
xxsashixx Posted April 10, 2009 Author Share Posted April 10, 2009 that is exactly what i did tho, there is no log file being written 0 Quote Link to comment Share on other sites More sharing options...
dan.trainor Posted April 10, 2009 Share Posted April 10, 2009 Hi - I don't know, I kind of give up on this. I'd suggest providing more details next time - everything you've tried, what you're looking for, etc etc. We can only help so much without knowing anything about your setup. Please respond with relevant, factual data including some debugging, and we can go from there. Again, good luck. Thanks -dant 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.