Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin/Modules/Boxes acting weird


jeu4328

Recommended Posts

Posted

Hello, Everyone: I am having issues with my Admin/Modules/Boxes.

 

For some reason I am not able to activate all of the boxes that I want to use on my page. When I go ininto Admin/Modules/Boxes I see these 'active' modules:

 

Banner Box with Rotator

Categories

Generic Box

Information

Reviews

Search

Specials Scroll Bar- JQuery

 

SCENARIO:

 

I'd like to add the 'Product Social Bookmarks' module, so I click on Install Module.

I click on 'Product Social Bookmarks' module and it indicates that the module is already active ... but it is not on the main Admin/Modules/Boxes screen ... it is now on the 'Install Module' screen.

 

If I click on the 'Edit' button I get the following error message:

 

Warning: reset() expects parameter 1 to be array, null given in /home/jewellpi/public_html/admin/modules.php on line 227

 

Warning: Variable passed to each() is not an array or object in /home/jewellpi/public_html/admin/modules.php on line 228

 

I hit cancel and it takes me back to the main screen. I then click 'Install Module' button again and select the module again. This time if I select 'Remove Module'

it deactivates the 'Product Social Bookmarks' module ... but it also removes the 'Banner Rotator Box' from the main Admin/Modules/Boxes. It also disappears from my website ... even though it indicates that it is an active module. It seems to be a vicious cycle.

 

It appears that I am not able to have more than 7 modules on my website at any one time. Is this common? Or do I have code someplace that is causing this problem.

 

Does anyone have any thoughts on what I can do to correct this problem?

 

Thank you,

Jewell

Posted

Your database has some invalid entries in the Configuration table that is messing up the Admin. You can usually fix this by uninstalling all of the boxes and then reinstalling them.

 

If that doesn't fix the problem, one of the box modules is incorrectly coded and needs to be removed. Finding which one is broken is a trial-and-error process.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Posted

it also happens if you use 1 database with 2 oscommerce installations, the system somehow detects if a module is missing and it gets deactivated.

If you make sure to have the module boxes code copied to all instances, you avoid these nuisances. Just in the end, make sure to sync up the installation with the correct code.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

  • 1 month later...
Posted

I have a problem, I see I have 7 Modules to install. When I click Install Module only 6 modules are showing as follows, But the Install module and Edit options disappear. Therefor I'm unable to install any boxes. Please Help

 

Box Module

Categories

Generic Box

Information

Reviews

Gtalk

 

Posted

One of your modules is broken. Did you add any new modules recently? If so, remove the module file and see if that changes it. Otherwise, you'll have to remove each file from the affected directory, one at a time, until the problem is fixed. At that point, the last file removed was the problem.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...