Forum Archive - [Solved] Config file issue?

[Solved] Config file issue?
Oct 7, 2011 6:28 am by Aurora
I receive this error anytime I change the config.php file. Fatal error: Call to undefined function phpdefine() in /home/content/25/7239425/html/gtranslate/config.php on line 1 For example: if I insert only the API key, only username/password, turn on only debug then upload file and or make any change at all to the config.php before I upload it to the server. If i leave the config.php file untouched and transfer it straight to the server without edits GTranslate will work. I'm using notepad to make the edits and uploading via FileZilla binary mode. I have ran info.php, checked cache folders to make sure .htaccess is writing to cache, made sure that cache and subfolders are set to 777. It currently works without any changes to config.php but I believe it is unsafe to run the site like this? http://www.aurorawebcam.com/ Thanks in advance, Troy
Re: Config file issue?
Oct 7, 2011 10:48 am by Edvard
Please use WordWrap.
Re: Config file issue? (FIXED)
Oct 8, 2011 2:45 am by Aurora
Thank you for the reply. I did have WordWrap on while I was making changes. Your reply made my think to check the PHP syntax and I was able to make a few changes and figure it out. Everything works now. Troy

SIMILAR TOPICS

How to emulate subdomain/language in .htacces fileAug 23, 2018 8:40 amReplies: 1Post by: ramyrickson
IONCUBE ISSUEMay 26, 2018 11:59 pmReplies: 3Post by: apeks
https configApr 16, 2018 5:54 pmReplies: 1Post by: fxbotmarket
500 error - file not foundMar 19, 2018 5:15 pmReplies: 1Post by: bigblue
Seem some issue with Jm3.8.2 & php 5.6Nov 20, 2017 5:03 amReplies: 3Post by: fuzmic

Try GTranslate with a free 15 day trial