Re: PHP Parse error: syntax error, unexpected T_STRING in /create_account.php line 4
Originally Posted by
jfoster1980
I must have messed up my site pretty good because after I changed some things in the create account process nothing major just names and headings of fields. when you create and account you get a blank white page from the error log I get this:
PHP Parse error: syntax error, unexpected T_STRING in /home/jfoster1980/qcsweets.com/includes/languages/english/create_account.php on line 423
I look on line 423 from dreamweaver and it shows this
Code:
zen_redirect(zen_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));
} //endif !error <------- That is Line 423
}
I have tried reuploading the original file but nothing seems to work. What am I missing? This worked before I started changing things so im pretty sure its my fault even though it was just adding text.
Are you sure that you're looking in the right place for the error?
The error code you posted says the error is in the file includes/languages/english/create_account.php but that file shouldn't contain any procedural code like the zen_redirect that you posted for the problem line (and it hasn't got anywhere near that many lines). The code you posted is more likely to be in includes/modules/your_template/create_account.php
if the error is in fact in your module create_account file, please post the section of code for the 10 previous lines as well
Neville
An assumption is what you arrive at when you get tired of thinking...
Bookmarks