Subs-post.php error after upgrade to RC2

Started by damacguy, December 31, 2005, 06:38:08 PM

Previous topic - Next topic

damacguy

I get the following error when trying to go to personal messages or modify my profile.

Parse error: parse error in /Library/WebServer/Documents/smf/Sources/Subs-Post.php on line 729

Which is as follows...
728 // Send a notification, if enabled - taking into account buddy list!.
729 if (!empty($row['emailAddress']) && ($row['pm_email_notify'] == 1 || ($row['pm_email_notify'] > 1 && ($row['is_buddy'] || !empty($modSettings['enable_buddylist'])))) && $row['is_activated'] == 1) && $notify
730 $notifications[empty($row['lngfile']) || empty($modSettings['userLanguage']) ? $language : $row['lngfile']][] = $row['emailAddress']


Suggestions?

[edit]Also happens when trying to edit News[/edit]

damacguy

I've replaced my Subs-post.php file with another copy from the RC2 upgrade. I'll try and see what the difference is between them.

Phantompyro

i get this same error although i didnt upgrade its a fresh install

damacguy

Replacing it with a fresh copy seemed to fix it for me. I should have posted that result.

redone

The only reason you would have a template parse error is because you have either modifed the file yourself or a mod you have attempted to install has changed the file. In most cases uploading a clean copy of the changed file fixes the issue.


Advertisement: