Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: J.1.5 Can't unpublish menu links - white screen error

J.1.5 Can't unpublish menu links - white screen error 11 months 4 hours ago #50019

Hi,
Good thing I am working on my 2.5 site as my 1.5 site is literally falling apart. I need to unpublish a menu link and I am getting this error every time I try to unpublish.

Fatal error: Class 'JTableMenu' not found in /home/XXXXXX/public_html/administrator/components/com_menus/tables/menu.php on line 20

My site seems to be working well otherwise.... but note that I have been getting other white screen errors when I try to open user manager which remain unresolved [see post: www.ostraining.com/support-forum/joomla-...ger-on-live-15-site/]

Any suggestions on easy fix for this new problem?

Regards
Scott
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50043

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3954
  • Thank you received: 134
  • Karma: 9
Hi Scott,

It sounds as if some of the files have not been copied across to your new server. The class JTableMenu is defined in libraries/joomla/database/tables/menu.php. You can get that file from the installation archive of your version of Joomla 1.5 and copy that to the server, and this error should disappear.

If you have other error messages, it would help to copy all the files, assuming that none of the core files have been modified.

If that doesn't work, Do you have access to the PHP error log? Are you using the latest 1.5 version. 1.5.26?
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50099

hi Tessa,
On my live site I am running 1.5.26 and I haven't changed server. In fact I have not made any changes to live site. I did install joomla 2.5.4 in a sub directory for my test site development. I found the location of the menu.php file you refer to. Where would I find the installation archive of this file? By all of the files, what do you mean? Where would I get the PHP error log? I have cPanel so it might be there somewhere.

regards
Scott
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50101

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Scott,

The last time I dealt with this error, it was because a core file was corrupted. Usually replacing the core file will fix the problem.

So reinstalling Joomla should fix it. Don't use the cpanel instant installer to reinstall or update. Use either FTP or get Akeeba Admintools and use that to reinstall Joomala.

I'd suggest Akeeba as the easiest and quickest fix.

Also run "fix" on your database from cpanel to clean up your database tables.

See if that has an effect and let us know.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50104

HI TESSA

Here is error log I found on cPanel:

[Mon Jun 25 14:36:08 2012] [error] [client 82.55.255.100] File does not exist: /home/XXXXXX/public_html/404.shtml, referer: www.s.com/
[Mon Jun 25 14:36:08 2012] [error] [client 82.55.255.100] File does not exist: /home/XXXXXX/public_html/images/bg_gradient.png, referer: www.s.com/
[Mon Jun 25 14:34:02 2012] [error] [client 82.55.255.100] File does not exist: /home/XXXXXX/public_html/404.shtml, referer: www.s.com/index.php?option=com_content&v...3&Itemid=117&lang=en
[Mon Jun 25 14:34:02 2012] [error] [client 82.55.255.100] File does not exist: /home/XXXXXX/public_html/images/bg_gradient.png, referer: www.s.com/index.php?option=com_content&v...3&Itemid=117&lang=en

Thanks
scott
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50109

  • tessa
  • tessa's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3954
  • Thank you received: 134
  • Karma: 9
Hi Scott,

Thank you for providing your error log.

As Ed suggested as well, try replacing your core files. Should fix this issue.
Warm Regards,

Tessa Mero



Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50112

Hi Ed
I have admin tools and I first clicked on the "reload this information from server" link, then on "reinstall 1.5.26" which was completed with success.

Still have same crash - problem not resolved.

Please look at my cPanel page. By "Fix" database, do you mean I should click on this "repair" link here? Please let me know, thanks

regards
Scott
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50121

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Yes click Repair DB.

Looking at your error code more closely, it appears you are trying to access a folder that shouldn't exist in J15.

The error:
Fatal error: Class 'JTableMenu' not found in /home/XXXXXX/public_html/administrator/components/com_menus/tables/menu.php on line 20

Look at image 1.png attached, and you can see the structure of the administrator/components/com_menus folder and there is a tables folder there.

Look at image 2.png and you see the structure in a 1.5 installation. There is not a tables folder there.

Could you have possibly installed a plugin for 2.5 into a 1.5 installation? Something that needs a tables folder and a corresponding table in the data base?

I would start by disabling some recently added modules or plugins, particularly anything that had to do with menus. If the site is working, I'd make a copy of the site and start backing out plugins until it cleared itself up, so you don't bother the live site.

The other thing you could do is create a new installation of 1.5 in subdirectory and start building it up again. Testing as you add modules. If you can successfully build a test site, then connect the data base to it and see if all is well. If i is you can move it to your main directory and scrap the current installation.

This is the same type of problem you reported in the last post. You have 2.5 files mixed in with your 1.5 installation somehow.

This is what I would do if it were my site.

Ed
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 4 weeks ago #50123

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
THe pictures didn't make it for some reason. Here they are.
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 3 weeks ago #50702

Hi Ed

I am working full time on finishing my new 2.5 site [hope it will be up in a month] and for now since the front end of my live 1.5 site is still functioning, I will just leave things as they are. I can not divert time from the 2.5 site in order to fix the 1.5 site which I hope to replace asap. Anything other than a quick fix I don't have time for. Thanks for your help!

Regards
Scott
Please become a member of OSTraining to reply to this post.

J.1.5 Can't unpublish menu links - white screen error 10 months 3 weeks ago #50726

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Good Luck Scott. You'll get this worked out eventually. Let us know how it comes out and ask any questions you have.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.