TAV1702 Posted June 7, 2011 Report Posted June 7, 2011 Ok fellas. I REALLY need help. I got in to my local config file and set auto activate pilot s to true..... Not hard at all and then I saved. Done deal. Went back to my site, and now all I get are white pages. This is the second time this has happened to me when I edited the local config file. I uploaded a backup file and it did not fix it. Every single page on the website is all white. Nothing more, nothing less. Any ideas? Quote
Moderators mark1million Posted June 7, 2011 Moderators Report Posted June 7, 2011 That usually means you have a php error, how is your error reporting set? Take a look in the app.config.php and set your error reporting to on see if php outputs anything. Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 Thats pretty much all chineese to me. lol but Ill take a shot at it. Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 Nothing at all. Pure white pages. Quote
Moderators mark1million Posted June 7, 2011 Moderators Report Posted June 7, 2011 Have you got a white space in the file? How is your settings on the ftp, i remember i have changed a setting by mistake once and it really screwed up the whole thing. Quote
Guest lorathon Posted June 7, 2011 Report Posted June 7, 2011 I would check the local.config for any errors. Are you getting any errors in the error.log on your site? Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 Well, I don't think I have a white space. The site has been fine for months now. All I did was went in to local_config.php and changed false to true for auto accept pilots and then saved it. ANd nothing is being written to my log files or anything. Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 Last time this happened, I had to upload a backup of the site to get it to work again. Since the only file I edited was the local_config file, I re uploaded it yet again and still nothing. I'm about ready to call it quits. If it isn't one thing it is another. lol Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 Found the problem. About half of the config file was missing. Apparently I can not alter that file ever again using cPanel. Quote
Moderators mark1million Posted June 7, 2011 Moderators Report Posted June 7, 2011 No, dont use cpanel thats what fu*ked my site up. If you need to edit then download the file and upload, i use winscp great program and above all its free and you can do live edits. Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 Well, I normally always use Dreamweaver MX2004 BUT this time I was in cPanel and decided to edit it real quick while I was there. Lesson learned. I never put the problem together until it happened this time. Both times this happened to me I used cpanel to edit the file. Never again! I just had to rebuild my entire config file. Thanks for taking the time to try and lend me a hand guys. I appreciate it. So a big WARNING WARNING WARNING to all reading this, do NOT I repeat do NOT use Cpanel to edit config files for your site. Ray Quote
TAV1702 Posted June 7, 2011 Author Report Posted June 7, 2011 I do have one problem left and can not figure it out. My pilots and airports list and schedules list in the admin panel is now empty. They show up everywhere else on site just fine. Quote
Moderators mark1million Posted June 7, 2011 Moderators Report Posted June 7, 2011 Just check that the jquery include is present in the admin header. Quote
TAV1702 Posted June 8, 2011 Author Report Posted June 8, 2011 I'll have to look in to that for sure. Not sure why it would not be there though. Quote
TAV1702 Posted June 8, 2011 Author Report Posted June 8, 2011 Not sure how I missed it, but I had a white space in my local config file. I rebuilt that file from scratch too. Now I really feel like a dork. Everything is back to normal. Quote
Administrators Nabeel Posted June 8, 2011 Administrators Report Posted June 8, 2011 Get WinSCP, it's an FTP browser, and you can make edits through that (it has a built in editor), or you can have it use an external editor and it will automatically handle uploading the file on save That's the safest way Quote
TAV1702 Posted June 8, 2011 Author Report Posted June 8, 2011 Nice! Thanks Nabeel. I will have to check that out. Quote
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.