Joomla Developer's Tips and Tricks
I will describe here some of my expereinces in Joomla development.
Memory Limit Plugin (Joomla! 1.5 Native)
This plugin is for joomla users who don't know how to adjust memory_limit parameter of php to fix the error that says:
Fatal error: Allowed memory size of [number] bytes exhausted (tried to allocate [number] bytes) in [filename]
This error is usually fixed by changing the memory_limit parameter in php.ini or in .htaccess file, but some web hosting companies do not allow you to modify php.ini,
Eclipse with XDebug, An internal error occurred during: "Execute Debug Command".
Eclipse is used heavily by php developers, so I'm using it
One of the most wanted features by any developer is the ability to debug code, step into code lines and watch variables to inspect their values, inspect expressions values, set breakpoints, etc...
XDebug is a famous php debugging tool that can be integrated into eclipse IDE to build a complete web development framework.
Fix for: Parse error: syntax error, unexpected $end in
One of my clients asked me to debug his site, because when php5 is enabled from the control panel the site does not show anything, just white pages!
The site was built using Joomla! 1.5, so I enabled debugging mode and set the error reporting level to maximum to know what is the problem.
Then this error was displayed when opening any page:
Parse error: syntax error, unexpected $end in filename:lineno
Can't Find What You're Looking For?
Browse our complete documentation or ask in our community forum.