I am having a problem with my admin dashboard being loaded correctly. Every link such as "Save", "Insert", "Delete", etc. that is used either has turned white (against the white background) or lost its functionality.
Another symptom to the problem is that "autocomplete" has apparently stopped working in the "Featured module". I require autocomplete to add products to the features module, so it is an obstacle I cannot afford to overlook.
my error message is "2011-10-15 5:05:29 - PHP Notice: Error: Could not load library json! in /home/dwai/public_html/store/system/engine/loader.php on line 23"
Any help would be appreciated.
Thanks,
Dan
In 1.5.1.3 the <span> attribute was removed from buttons
A new implementation of json was added
You need to upload the admin files again (apart from config.php).
Is there a specific file I could change instead.
Is that decision potentially to affect my store's stability? Or is it going to cause fundamental functions to not work?
Thanks.
Here's what it looks like.
Attachments
whitefonts.jpg (22.52 KiB) Viewed 4305 times
So, if you didn't upgrade, you have an incompatible 3rd party module that is causing your problem. The json functions were changed in 1.5.1.3, which broke any module that was built on (or for) an earlier version that used json.nightvision04 wrote:my error message is "2011-10-15 5:05:29 - PHP Notice: Error: Could not load library json! in /home/dwai/public_html/store/system/engine/loader.php on line 23"
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
1. Import/Export (JNeuhoff)
2. Restricted Access (Qphoria)
Both plugins were specifically made for the 1.5.1.3 release. Any suggestions?
p.s. - If anything, my guess is that between to the two possibilities, it wasn't a Qphoria issue.
Well, I wouldn't come to that conclusion without any evidence. Compared to JNeuhoff, Qphoria is a noob!nightvision04 wrote:I see. Well. I have two mods.
1. Import/Export (JNeuhoff)
2. Restricted Access (Qphoria)
Both plugins were specifically made for the 1.5.1.3 release. Any suggestions?
p.s. - If anything, my guess is that between to the two possibilities, it wasn't a Qphoria issue.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
yer, JNeuhoff is a Senior around here and has been giving us the Import/Export module since version 0.7. That was a long time ago, before most people knew about OpenCart, even before Adam and Eve were bornfido-x wrote:Well, I wouldn't come to that conclusion without any evidence.

Fido-X is also a Senior around here
Try removing the mods one by one to isolate you problem
Now I'm feeling old!jty wrote:... Fido-X is also a Senior ...



No worries.nightvision04 wrote:After I take my foot out of my mouth, i'll get right on that.![]()
Sorry Fido-X
It might also be an idea to check any vQmod file that may have come with either of those packages, to see if the cause of your problem lies there.
To disable a vQmod (or to hide a controller), just add an underscore to the end of the filename's extension (eg., .xml_ or .php_), or change the extension from .xml (or .php) to .bak.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
I have disabled both mods (vqmod scripts), and confirmed that they are no longer working.
I still however get the font issues. Below is another example of the problem. There should be dark Login text, but instead it is white.
Last picture example shows a missing autocomplete, necessary for adding coupon products and other things wonderful...
Is this as easy as re-uploading the open cart 1.5.1.3 version directly in ftp?
Attachments
missing autocomplete.jpg (37.55 KiB) Viewed 4290 times
nobutton.jpg (35.9 KiB) Viewed 4290 times
OK. Get rid of "system/library/json.php" (that's the old one). Make sure that you have a "sytem/helper/json.php" (from the 1.5.1.3 package).nightvision04 wrote:I forgot to mention, I also replaced the json.php file to its original 1.5.1.3 version. (I had tried using a 1.5.1.2 version by request on this thread).
Now, you stated earlier that you have 2 mods/extensions:
(a) Of these, JNeuhoff's Import/Export mod is a tool which allows you to backup/restore your database to/from an Excel spreadsheet. This has no impact on products and doesn't use json.nightvision04 wrote:... I have two mods.
1. Import/Export (JNeuhoff)
2. Restricted Access (Qphoria)
(b) On the other hand, Qphoria's Restricted Access mod does have an impact on products, as its purpose is to "restrict access".
Using the basic principle of logic that "a + b therefore c", the conclusion is that your problem is in Qphoria's Restricted Access mod.
Disable this mod by renaming the controller (add ".bak" to the end of the filename or change the extension to ".php_"). If this is a "module", the controller will be found in "admin/controller/module" folder. If it is a "tool" the controller should be found in the "admin/controller/tool" folder. This will confirm whether this module is the cause of your problem, or not.
The error message you included in your first post:
This suggests that something is trying to load the json "library" (doesn't exist in 1.5.1.3), so you are getting an error. If I'm right about which mod is causing your problem, have a look in the controller for Qphoria's Restricted Access mod, and look for something like:nightvision04 wrote:"2011-10-15 5:05:29 - PHP Notice: Error: Could not load library json! in /home/dwai/public_html/store/system/engine/loader.php on line 23"
Code: Select all
$this->load->library('json');
$this->response->setOutput(Json::encode($product_data));
Code: Select all
$this->load->library('json');
Code: Select all
$this->response->setOutput(json_encode($product_data));
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Users browsing this forum: No registered users and 23 guests