(fixed) Wordpress help: Moving site not working, getting php errors

canderson

Mr. Brightside
SoSH Member
Jul 16, 2005
39,665
Harrisburg, Pa.
I had a Joomla install at www.highlandgardens.org. I dropped the Joomla tables and deleted the files. 
 
I want to point the url to a WordPress install that's build and ready in the /wp subdirectory. My index.php in the root folder shows this, the index.php in the wp doesn't - .htaccess files are in both directories.
 
I'm getting the following errors: 
 
 
 
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home4/grdnguru/public_html/index.php on line 17

Warning: Division by zero in /home4/grdnguru/public_html/index.php on line 17

Warning: Division by zero in /home4/grdnguru/public_html/index.php on line 17

Warning: require(0php) [function.require]: failed to open stream: No such file or directory in /home4/grdnguru/public_html/index.php on line 17

Warning: require(0php) [function.require]: failed to open stream: No such file or directory in /home4/grdnguru/public_html/index.php on line 17

Fatal error: require() [function.require]: Failed opening required '0php' (include_path='.:/opt/php52/lib/php') in /home4/grdnguru/public_html/index.php on line 17
 
Any help from anyone?
 

uncannymanny

Member
SoSH Member
Jan 12, 2007
9,112
Can you post line 17 of index.php? Definitely something wrong with that require statement.
 

canderson

Mr. Brightside
SoSH Member
Jul 16, 2005
39,665
Harrisburg, Pa.
So I figured this out. The issue was using the Mac TextEditor. It apparently screws up quotes and when reuploaded the file doesn't read them correctly. I updated the index.php through cPanel as a tryout and it worked perfectly. Site's loaded.
 
How stupid of TextEditor.