× Joomla Facebook Connect support forum

Topic-icon 500 error white screen

Active Subscriptions:

None
14 years 9 months ago #1668 by dpk
500 error white screen was created by dpk
Wherever I place the login module, I get a white screen.

PHP error report:

Parse error: syntax error, unexpected $end in /nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/modules/mod_jfbclogin/tmpl/default.php on line 115


With debugging on:
JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 SQL=SELECT name FROM jos_users WHERE id =

Call stack
#	Function	Location
1	JSite->dispatch()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/index.php:68
2	JComponentHelper->renderComponent()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/includes/application.php:124
3	require_once()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/application/component/helper.php:162
4	JController->execute()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/components/com_content/content.php:35
5	ContentController->display()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/application/component/controller.php:236
6	JController->display()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/components/com_content/controller.php:48
7	ContentViewCategory->display()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/application/component/controller.php:310
8	JHTML->_()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/components/com_content/views/category/view.html.php:123
9	call_user_func_array()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/html/html.php:87
10	JHTMLContent::prepare()	 
11	JDispatcher->trigger()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/html/html/content.php:48
12	JEvent->update()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/event/dispatcher.php:170
13	call_user_func_array()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/event/event.php:67
14	plgContentzakAuthor->onPrepareContent()	 
15	JDatabaseMySQL->loadResult()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/plugins/content/zakauthor.php:55
16	JDatabaseMySQL->query()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/database/database/mysql.php:355
17	JError->raiseError()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/database/database/mysql.php:231
18	JError->raise()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/error/error.php:171
19	JException->__construct()	/nfs/c03/h04/mnt/48954/domains/DOMAIN.COM/html/libraries/joomla/error/error.php:136
The topic has been locked.
Active Subscriptions:

None
14 years 9 months ago #1670 by dpk
Replied by dpk on topic 500 error white screen
This error is the result of the module code using short open tags (not advised) and php.ini or .htaccess directives to disallow short open tags for security reasons.

Solution: remove short open tags from module tmpl/default.php

More: <!-- m --><a class="postlink" href="www.cmsmarket.com/forum/index.php?f=38&t=244&rb_v=viewtopic">www.cmsmarket.com/forum/index.ph ... =viewtopic
The topic has been locked.