× Joomla Facebook Connect support forum

Topic-icon Website Stops Working

Active Subscriptions:

None
15 years 1 month ago #546 by Ambessa99
Hi,

I recently purchased this component. I don't use Jomsocial and am using the Joomla user component. When i enable the JFCBConnect module, the website pretty much stops working. It doesn't load, just a blank screen.

Any ideas on where I am going wrong?

Thanks
The topic has been locked.
Support Specialist
15 years 1 month ago #547 by alzander
Replied by alzander on topic Website Stops Working
White pages in Joomla almost always mean one thing: There's a PHP error that's preventing the page from loading.

Please do the following and report back:
- In the admin area, go to "Site->Global Configuration"
- Click the "Server" tab
- Set "Error Reporting" to "Maximum"
- Save
- Reload whichever page is turning white, and post the message back here, and we can help walk you through the issues.

Make sure you set Error Reporting back to it's previous value when done.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #548 by Ambessa99
Replied by Ambessa99 on topic Website Stops Working
Thanks for quick response. The error message is below and occurs on the HOME page:

Parse error: syntax error, unexpected $end in /home/sites/students4righttoplay.org.uk/public_html/dev/modules/mod_jfbclogin/tmpl/default.php on line 131
The topic has been locked.
Support Specialist
15 years 1 month ago #549 by alzander
Replied by alzander on topic Website Stops Working
That's not good. Looking at the file it references, there's only one reason I can see this being a problem. Hope you don't mind making an edit to the file to check.

Open that file, and change the "<?" to "<?php" on the following lines:
line 84: <?php } ###################### end login form #####################################
line 127:
<?php
} # end logout

Sorry for the inconvenience. Let us know if this fixes your issue. Some servers and revisions of PHP are much more finnicky to having all code areas start with the <?php instead of just <? . Every once in a while, I forget to do it 'correct' <!-- s:? --><img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" /><!-- s:? -->
The topic has been locked.
Active Subscriptions:

None
15 years 3 weeks ago #660 by maderlock
Replied by maderlock on topic Website Stops Working
Ahhhh... thankyou. I've spent an hour trying to track down how to turn on error checking. Now I have, I get the same error. Your suggested fix works. Picky picky php.
The topic has been locked.