SimpleForum - add signature to profile.php

6 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: April 5, 2016   (RSS)

Ok, this is getting frustrating!

I followed the instructions to add the signature block to the profile.php page and I now get a 500 error.  Not exactly sure why.

I have attached my profile.php file

If anyone has any ideas, please help!

Thanks!

Ragi

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke
Attachments:

profile-test.php 13K

By gregThomas - April 4, 2016

Hi Ragi, 

The file has several PHP formatting errors, for example on the second line:

<?php $GLOBALS['WEBSITE_MEMBERSHIP_PROFILE_PAGE'] = true; // prevent redirect loops for users missing fields listed
 in $GLOBALS['WEBSITE_LOGIN_REQUIRED_FIELDS'] ?>

 this code was originally on one line, but is now split over two, PHP is trying to parse in $GLOBALS['WEBSITE_LOGIN_REQUIRED_FIELDS'] as code. 

Did you add this formatting? I'm trying to work out how the file could have been broken up like that. 

Let me know if you have any questions.

Cheers,

Greg

Greg Thomas







PHP Programmer - interactivetools.com

Greg:  No, I didn't.  I changed some of the lines further up, but definitely not that one.

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Thanks Damon. I will check it out. 

Ragi

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Looks like the whole original download was the same.  I re-downloaded the latest version 1.01, with the updates applied by greg.

Looks good now!

Thanks guys.

Ragi

--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke