Page 1 of 2

Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 1:32 pm
by er777
My extension modules are all of a sudden not showing on the admin interface, although I have not removed any of the files on the server. This includes all of the default opencart modules

Any ideas why that might happen and how I might bring them them back?

Re: Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 1:51 pm
by melbagnato
Hi er777,

Four things you can check:
(1) your database: look in the extension table to see what appears (these are the installed extensions)
(2) the definition of "DIR_APPLICATION" at run time (this is where modules are "found" by OpenCart)
(3) permissions of your user (although you'd get an error message)
(4) the actual file structure "/admin/controller/module/"

For #2, I have an extension (http://online.enterpriseconsulting.com. ... oduct_id=6) that can help, but for all the others you need to do them manually.

- Mel

Re: Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 2:19 pm
by er777
Hi and thanks so much for your reply!

It's really the modules that are missing: see attached the files on the server under modules. They used to show up in admin and now it's empty "no results"
CapturFiles_8.png

CapturFiles_8.png (28.54 KiB) Viewed 15524 times

1) I have an extension table with 9 fields in it, see attached..
CapturFiles_10.png

CapturFiles_10.png (39.26 KiB) Viewed 15524 times

2) This is what I have:
define('DIR_APPLICATION', '/home/vg001web00/52/85/2928552/web/parents/admin/');

3) User has Top Administrator permissions

4) the actual file structure "/admin/controller/module/" ----- I am showing the proper files in that directory:
CapturFiles_9.png

Extensions in DB - CapturFiles_9.png (28.24 KiB) Viewed 15524 times

This problem is not making sense to me, as I did not knowingly alter any files...!

Re: Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 3:46 pm
by melbagnato
Hi er777,

is your extensions table empty ?

- Mel

Re: Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 8:26 pm
by er777
No, it has 9 records, see above... (my apologies, i should have previously said 9 RECORDS instead of FIELDS )

Re: Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 10:02 pm
by melbagnato
That's really strange. Are there any errors in your error logs (store, php, mysql) ?

I'm happy to try to debug it for you if you get stuck. I'd need you to PM me your site's details.

- Mel

Re: Extensions/modules not showing in admin

Posted: Mon Jul 14, 2014 10:45 pm
by er777
Mel I sent you a PM with details... maybe you have a thought on this craziness.... Thank You!

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 9:44 am
by melbagnato
Hi,

I believe you are missing a language file for the Charity module. Look in the "/admin/language/module/" directory.

If you can reinstall that module, it should fix your problem.

Also, your error log is massive. You have a constant error that happens on almost every mouse click by your customers. I see that someone has modified your "/catalog/view/theme/default/template/common/header.tpl" file and has left a mistake there.

- Mel

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 12:38 pm
by er777
Hi,

Well, I went through and looked at the files made some changes, made sure I had the charity file up, but no dice...sadly!

Seriously scratching my head.....

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 1:17 pm
by melbagnato
Sorry, just to confirm:
(1) You uploaded the missing Charity files; and
(2) you fixed the bug in the header.tpl file

And this didn't fix your issue ? Ok, I'll continue looking to see what else it could be.

- Mel

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 1:25 pm
by er777
(1) You uploaded the missing Charity files;

There was only one file referenced - "/admin/language/module/" - are there more?
and
(2) you fixed the bug in the header.tpl file

Yes, believe that's cool now

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 1:40 pm
by er777
Also, fyi, every single listing under extensions is missing, not just modules...

modules, shipping, payments, product feeds, order totals

Makes me think it's some global setting or bug that crept in, wiping everything off admin extensions

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 1:41 pm
by er777
And I just reloaded the multiple charity modules in the preferred opencart way

Re: Extensions/modules not showing in admin

Posted: Tue Jul 15, 2014 2:17 pm
by melbagnato
Have you checked your settings table to see that it hasn't been corrupted ?

Re: Extensions/modules not showing in admin

Posted: Wed Jul 16, 2014 11:41 am
by er777
Yes - here is the result:

SQL result
Host: mysql-ccpa.calvarychristian.org
Database: ccpa
Generation Time: Jul 15, 2014 at 10:40 PM
Generated by: phpMyAdmin 2.11.11 / MySQL 5.1.66-0+squeeze1
SQL query: CHECK TABLE `setting`;
Rows: 1
Table Op Msg_type Msg_text
ccpa.setting check status O


I ran repair on it, but it was not necessary

Re: Extensions/modules not showing in admin

Posted: Wed Jul 16, 2014 9:47 pm
by melbagnato
Hi, I just tested this on my copy and it's all working. Is the error now gone on your site ?

- Mel

Re: Extensions/modules not showing in admin

Posted: Wed Jul 16, 2014 10:54 pm
by er777
I see no change on :

https://parents.calvarychristian.org/ad ... ion/module

Still a ll extensions are missing. Do you have success?

Re: Extensions/modules not showing in admin

Posted: Thu Jul 17, 2014 12:30 am
by er777
Mel if you have it working properly, could you tell me what you've done to make that happen? Much appreciated!!

Re: Extensions/modules not showing in admin

Posted: Wed Aug 06, 2014 6:36 am
by er777
Mel ... any chance for a chat on that parents.calvarychristian site?

Re: Extensions/modules not showing in admin

Posted: Wed Aug 06, 2014 8:35 am
by er777
Meant also to say that this will be a paying gig if you can help me figure things out, Site is working fine, except at the end of a purchase, we're hanging on a "wait" message when in fact the transaction went through. There is a serializing error notice at the moment:

Code: Select all

Notice: unserialize(): Error at offset 3722 of 3842 bytes in /home/52/85/2928552/web/parents/index.php on line 68
Thinking that the php notice is interfering with the json involved in this type of notification from Open Cart...??