I installed the 10/31/04 release of banner on my drupal 4.5 system. I used phpmyadmin to create the tables in mysql.

The module seems as though it behaves correctly... i.e. no errors seem to exist... EXCEPT: I cannot view the banners If I upload a gif - an empty frame is there with a little red X in it. If I upload a jpg, nothing shows at all.

This is true whether I go to administer -> banners [view] the appropriate banner or as a user looking at the site.

I can FTP to the /files/banners/ directory and see my banners there correctly.

I seem to be able to change status from pending to enabled without problems. (I have been reading in theforums and it seems this is sometimes a problem.)

The stats seem to be working and it shows the banner as being viewed X amount of times.

Any help would be greatly appreciated!

Thanks,
Robert

Comments

Jeremy’s picture

Did you carefully follow these instructions?

In particular, be sure that you copied 'banner_db.php' and 'banner_file.php' to their correct places. They go in the top level directory, not the modules subdirectory. If these files are in their proper place, be sure that the web server has read permissions to the files.

Jeremy’s picture

Marking as active until you get it working...

robclay’s picture

It was read permissions... DOH! Thanks for the help!

Jeremy’s picture

Glad to hear you got it working. I'll add a troubleshooting section to the INSTALL file, and include this in there...

robclay’s picture

Jeremy - I just noticed that JPGs do not show up at all, but GIFs work perfectly.

???

Anything obvious I am missing?

Jeremy’s picture

Be sure that you're uploading files with the proper three letter extension. ie, "*.gif" and "*.jpg", etc. Both types work perfectly for me. (This is discussed in the INSTALL file - see the section titled "Uploading graphical banners")

If this continues to be a problem for you, open a new issue. Be sure to set the status to something other than "fixed" otherwise it will auto-close before I return from vacation. I'll not be able to assist you on this until I return in 2-3 weeks.

Anonymous’s picture