Minty Posted June 9, 2011 Share Posted June 9, 2011 Hi Jim, Thanks for an excellent front page module system. Everything works for me except the banner rotator. I have followed the instructions to the letter, double-checked everything, read all the postings on this forum which relate to the banner module and no luck. Naturally it is the one feature I was especially wanting, although they are all great. The only thing I can think of that might be different is that I am using a local server (MAMP Pro on a Mac), and all the permissions are set to 777, but I can't see why this would make a difference at all except for the positive. With everything except the banner rotator enabled, all I have is a blank front page. It makes no difference what the url is. Of course the job is urgent, so would greatly appreciate some descriptive help asap. Quote Link to comment Share on other sites More sharing options...
♥kymation Posted June 9, 2011 Share Posted June 9, 2011 Not much I can don without seeing the page. A blank page is usually the result of a fatal error. Turn on ALL errors in your application_top.php or look at your PHP error logs. Turn on only one module at a time to see if it's just one causing the problem. Also check your edits to index.php to make certain you have not deleted more than you should have. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Minty Posted June 9, 2011 Author Share Posted June 9, 2011 Hi Jim - thanks for your prompt response, and pardon my ignorance. I'm finding my way around OSC so really have no idea how to turn on the errors in the application_top.php. Nothing leaps out at me. I have already tried turning on only one module at a time - everything works except the banner rotator. I have not edited the index.php. Is there something I should delete? What I have done is installed a new install of 2.3.1 onto my local server, and made no changes except to follow your instructions to add and configure the front-page module. Could you advise how I check my php error logs? Do you mean in Mamp or in OSC? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted June 9, 2011 Share Posted June 9, 2011 MAMP should store error logs somewhere. I've never used it and have no idea where that would be. Consult your documentation. In osCommerce, go to catalog/includes/application_top.php, Line 17: error_reporting(E_ALL & ~E_NOTICE); and change it to this: error_reporting(E_ALL); That should give you some errors to look at. catalog/index.php is modified to make the front page modular. The stock version is not. If you just used the version contained in the Addon files, everything should be working. If you modified your copy of the file, check that you made the correct changes. The banner rotator depends on Javascript, so make certain you're not limiting or blocking javascript anywhere. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Minty Posted June 9, 2011 Author Share Posted June 9, 2011 OK thanks, will check out my MAMP docs. In the meantime I've changed the application_top.php as you've shown. I don't see any errors recorded anywhere in either the front or back end. Where would I expect to see these? I've cleared my browser cache but this makes no difference. I've assumed that javascript would be required for the Scroller, which works fine. Is this not the case? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted June 9, 2011 Share Posted June 9, 2011 Look at the front page when you have the banner rotator set up. If you don't see any errors, look at the page source. Error messages sometimes get hidden by the formatting. If you still can't find any error messages, chances are good that the code is correct. Yes, Javascript is working if the Scroller works. That's a long shot, but I'm trying everything I can to fix the problem. The one thing I forgot to ask -- Do you have at least two banners installed and assigned to the Rotator? Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Minty Posted June 9, 2011 Author Share Posted June 9, 2011 I just ran the mac disk utility in case there were some issues, then restarted, and then restarted Mamp - just in case. Still nothing showing. It seems I can't see the page source in mamp - not sure why. Using Firebug nothing but the empty content container div shows. I can see no error information at all. I have the two image files that are packaged with the banner rotator as follows: catalog/images/banners/fader/test_banner_1.png and test_banner_2.png. I had them in a directory called rotator as recommended in your user's manual, but this wasn't working, so I changed the name as a check. I then changed the name in the module edit area in the front end as well of course. It's a mystery. (I hate mystery's). Quote Link to comment Share on other sites More sharing options...
♥kymation Posted June 9, 2011 Share Posted June 9, 2011 Are your banners assigned to the same group as the Banner Rotator Group setting in the banner rotator? If you changed the path to something other than /images/ then you'll need to change the code in the module to match. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Minty Posted June 9, 2011 Author Share Posted June 9, 2011 If by 'Group" you mean directory, or file - then yes. As per my sentence "I have the two image files that are packaged with the banner rotator as follows: catalog/images/banners/fader/test_banner_1.png and test_banner_2.png. I had them in a directory called rotator as recommended in your user's manual, but this wasn't working, so I changed the name as a check. I then changed the name in the module edit area in the front end as well of course." Quote Link to comment Share on other sites More sharing options...
♥kymation Posted June 9, 2011 Share Posted June 9, 2011 No, by Group I mean Group. When you install a banner using the Banner Manager you must assign it to a a Banner Group. Likewise, when setting up the Banner Rotator module you are requested to enter a Banner Rotator Group name. Those two group names must match. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Minty Posted June 9, 2011 Author Share Posted June 9, 2011 Hi Jim - OK, it may be an OSC terminology issue for me then. Can you explain how I set up a Group? And actually what a Group is? Apparently putting the two supplied images in a folder called 'faders' which is inside the banners folder, which is inside the images folder, and putting 'faders' in the front end module in the field called 'Banner Rotator Group', is not the right thing to do? Quote Link to comment Share on other sites More sharing options...
♥kymation Posted June 9, 2011 Share Posted June 9, 2011 Banner Groups have nothing to do with folder names. They can be the same if you want, but there's no requirement for them to be. 1. In Admin >> Tools >> Banner Manager, set each of the banners that you want to appear in the Rotator to the same group in the Banner Group setting. I named this group rotator. You can name it anything. 2. In Admin >> Modules >> Front Page >> Banner Rotator, set the Banner Rotator Group to the same group name you used in step 1. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Minty Posted June 9, 2011 Author Share Posted June 9, 2011 Jim, thank you so much for your patience. This is what I was missing - the fact that the images are tied into a banner function. I was thinking in terms of product images rather than a banner display. I'm not used to OSC. I mostly use Joomla or Magento, so doh - new lesson learned. There'll be no holding me back now - many thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.