Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Traceback appearing in modules

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Using the Quickstart download: JB_Focus2_Quickstart_J341_v1.3.2.zip

From the "Home" page, click "Work" on the main menu, then click on any of the six work modules. Following is what you get displayed in the module. Similar results in other places, too.

News #3 ( ! ) Notice: Undefined variable: url in C:\wamp\www\ld\templates\focus2\html\com_content\article\default.php on line 54 Call Stack #TimeMemoryFunctionLocation 10.0005247360{main}( )..\index.php:0 20.08053562496JApplicationCms->execute( )..\index.php:40 30.08053562696JApplicationSite->doExecute( )..\cms.php:252 40.22917602192JApplicationSite->dispatch( )..\site.php:230 50.24097730528JComponentHelper::renderComponent( )..\site.php:191 60.24397757576JComponentHelper::executeComponent( )..\helper.php:371 70.24437779544require_once( 'C:\wamp\www\ld\components\com_content\content.php' )..\helper.php:391 80.25178158200JControllerLegacy->execute( )..\content.php:16 90.25178158456ContentController->display( )..\legacy.php:728 100.25188162144JControllerLegacy->display( )..\controller.php:104 110.26328804200ContentViewArticle->display( )..\legacy.php:690 120.348810490984JViewLegacy->display( )..\view.html.php:184 130.348810491496JViewLegacy->loadTemplate( )..\legacy.php:209 140.350910584976include( 'C:\wamp\www\ld\templates\focus2\html\com_content\article\default.php' )..\legacy.php:670
( ! ) Notice: Undefined variable: prefix in C:\wamp\www\ld\templates\focus2\html\com_content\article\default.php on line 54
Call Stack
# Time Memory Function Location
1 0.0005 247360 {main}( ) ..\index.php:0
2 0.0805 3562496 JApplicationCms->execute( ) ..\index.php:40
3 0.0805 3562696 JApplicationSite->doExecute( ) ..\cms.php:252
4 0.2291 7602192 JApplicationSite->dispatch( ) ..\site.php:230
5 0.2409 7730528 JComponentHelper::renderComponent( ) ..\site.php:191
6 0.2439 7757576 JComponentHelper::executeComponent( ) ..\helper.php:371
7 0.2443 7779544 require_once( 'C:\wamp\www\ld\components\com_content\content.php' ) ..\helper.php:391
8 0.2517 8158200 JControllerLegacy->execute( ) ..\content.php:16
9 0.2517 8158456 ContentController->display( ) ..\legacy.php:728
10 0.2518 8162144 JControllerLegacy->display( ) ..\controller.php:104
11 0.2632 8804200 ContentViewArticle->display( ) ..\legacy.php:690
12 0.3488 10490984 JViewLegacy->display( ) ..\view.html.php:184
13 0.3488 10491496 JViewLegacy->loadTemplate( ) ..\legacy.php:209
14 0.3509 10584976 include( 'C:\wamp\www\ld\templates\focus2\html\com_content\article\default.php' ) ..\legacy.php:670
" />

Super User
News
20 December 2012
Hits: 216

Print
Email

Cras nec lorem eget ligula varius aliquet at et mi. Fusce id quam in justo suscipit porta. Fusce non nisl nunc, id vestibulum augue. Donec interdum sapien vitae sem condimentum vel adipiscing leo consequat. In quis nisi sed velit lobortis congue in vulputate risus. Aliquam molestie, risus sed congue ullamcorper, mauris lacus volutpat mauris, nec luctus est risus in libero.
Overview

Aenean iaculis volutpat libero congue hendrerit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vivamus tempus tellus eu quam volutpat vehicula. Maecenas eget lorem orci, ut sagittis nulla. Donec non justo tortor, sit amet consequat enim. Mauris volutpat dignissim sagittis. Aliquam suscipit pharetra nibh, vel tincidunt sem lacinia ac. Aliquam vel magna ut dolor sagittis tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam semper sem sit amet massa lobortis commodo. Nam scelerisque, eros interdum malesuada fermentum, ante ligula molestie quam, vitae eleifend diam lorem eget massa.



Prev
Next

I love what I do and I do what I love ...

- Anonymous
  • TED's Avatar
  • TED
  • 12 Month basic
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi There,

By default error reporting on WAMP is too high so its flagging up notices

Notices don't actually mean errors in many cases and don't affect the functioning of the scripts

So two options - turn down error reporting via the Joomla global configuration or reduce the error reporting level in WAMP

On a live server if its properly configured it won't show these notices

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I should also mention the majority of these notices are coming from Joomla itself and not the template / extensions
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
For more information on error reporting please check out these links

www.ostraining.com/blog/joomla/warnings/
docs.joomlabamboo.com/joomla-basics/how-to-enable-error-reporting-in-joomla-25

The screenshots are for Joomla 2.5 but the content is still relevant

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
You said: "Notices don't actually mean errors in many cases and don't affect the functioning of the scripts"

Regardless, it's an error that php has to handle. That's additional unnecessary -- and unwanted -- overhead.

Are you saying the bug (issue?) is in Joomla, and has nothing whatsoever to do with the template and/or extensions?

If that's the case, then where do I report it to Joomla support so it can be fixed?

If the template and/or extensions are creating the errors (notices), they should be fixed instead of just ignored.

TED
  • TED's Avatar
  • TED
  • 12 Month basic
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ted,

Just so we are looking at the same version can you update to the latest template version

Please backup and then install via the Joomla installer

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
1) I renamed folder "wamp" to "wampPROD" (to save my production work).

2) I created folder "wamp"

3) I installed the latest download of wampserver:
wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b

4) I created folder ldf2 and db of the same name via phpadmin

5) I unzipped the latest Focus2 Quickstart:
"JB_Focus2_Quickstart_J341_v1.3.2.zip"

6) I proceeded through all the Joomla installation steps

7) I renamed folder installation to installationRENAMED (instead of deleting it, just in case I needed to re-install)

8) I navigated to localhost/ldf2

9) I clicked on "Home", then "Work", then on "Project #4". I received the same traceback as I documented above.

Here's what the Focus2 Template Overview page says (in administrator mode):

"Version: 1.3.2 | ZGF v4 1.3 | Release Date: March 30 2015"

10) I downloaded the latest Focus2 package into a "download" folder:

"JB_Focus2_J3+_v1.3.3.zip"

Note that it says "v1.3.3". The QuickStart said "v1.3.2".

11) I unzipped the package into a sub-folder of my downloads folder

12) I installed it via "Extension package file" -- "Install from directory"

13) Now the template overview showed:
"Version: 1.3.1 | Release Date: April 13 2015"

Note: The release date is more current, but the version number is downgraded. Also, there is no reference to "ZGF v4 1.3".

14) I still get the same traceback.

There are several inconsistencies here. At the very least, the "Quickstart" should contain the most recent version of the template.

If I have done something wrong, please enlighten me.

Thanks,

TED
  • TED's Avatar
  • TED
  • 12 Month basic
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Ted,

So sorry for the trouble and the confusion.

I have this fixed locally and am just waiting on confirmation of another fix and it will be released.

At that time the template and quickstart will be updated.
Once again sorry for the inconvenience.
Anthony
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers