Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner Manager error. please help.


Trey Brister

Recommended Posts

Banner Manager error. please help.

 

On this page http://www.flagsforsale.com/catalog/admin/...ner_manager.php

 

There is a temporary password.

 

Username: guest

Password : catalog

 

I first got the error that the

 

graphs directory was not writable.

 

This was in the standard pink errorbox at the top of the banner admin. I chmodded that directory to 777 then I get this PHP (not osCommerce) error.

 

I get this error.

Warning: Failed opening 'includes/graphs/banner_infobox.php' for inclusion (include_path='')  in /home/www/flagsforsale/catalog/admin/banner_manager.php on line 417

 

I looked at the code and nothing looked out of line to my untrained eye.

 

Please reply if I need to provide further information to help troubleshoot this issue.

 

Thanks for any help you can give me.

Warm Regards,

 

Trey Brister

Link to comment
Share on other sites

It looks like the PHP is having trouble finding the files needed to display the content you want. I think you should take a look in the includes directory to see if you can find banner_infobox.php and banner_manager.php there is a chance they could have been edited incorrectly which would give these errors.

 

Take look to see if there is a colon mis-placed or a bracket not closed it may be worth it. :D

Link to comment
Share on other sites

I think you should take a look in the includes directory to see if you can find banner_infobox.php and banner_manager.php  

 

 

sterling:~/www/catalog/admin/includes/graphs$ ls -al banner_infobox.php

-rwxrwxrwx   1 flagsfor flagsfor     1553 Jul 11 20:15 banner_infobox.php*





sterling:/home/www/flagsforsale/catalog/admin$ ls -al banner_manager.php

-rwxr-xr-x   1 flagsfor flagsfor    26514 Sep  1 01:19 banner_manager.php*

 

 

Take look to see if there is a colon mis-placed or a bracket not closed it may be worth it.  :D

 

Here is line 417 of banner_manager.php

 

 

 include(DIR_WS_INCLUDES . 'graphs/banner_infobox.php');

 

 

admin/includes/configure.php defines

 

define('DIR_WS_INCLUDES', 'includes/');

 

Still the same issue... Does this extra info help?

Warm Regards,

 

Trey Brister

Link to comment
Share on other sites

Change the permission to 777 for the Graph folder and it will work

 

I chmodded the includes/graphs to 777 then got a different error about banner-infobox2.php not writable.

 

I then chmodded the images/graphs to 777 and the issue is resolved completely. :D

Warm Regards,

 

Trey Brister

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...