Guest Posted October 19, 2002 Posted October 19, 2002 I just installed 2.2 and my only problems are 1) the banner manager is not working (I saw that in another post listed) and 2) the File manager is giving me an error: Warning: OpenDir: Permission denied (errno 13) in .../admin/file_manager.php on line 187 Fatal error: Call to a member function on a non-object in .../admin/file_manager.php on line 188 These are the lines is references: 187> $dir = dir($current_path);188> while ($file = $dir->read()) { Any thoughts on why this is happening or does this happen to anyone else? Thanks. :bigups:
Guest Posted October 21, 2002 Posted October 21, 2002 I want to try to post this again because I'm not sure what is happening and I can't find any other refrences to this in the BB. Has anyone else had this issue?
Secret_Ian Posted October 30, 2002 Posted October 30, 2002 I just solved this exact same problem with my installation, and yes it is annoying! This should also affect your ability to post images on your website. My solution... in the application_top.php file under Admin/includes/ Original config that I tried on line 19 (as per the commented instructions "// where your pages are located on the server.. needed to delete images.. (eg, /usr/local/apache/htdocs)"): define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/var/www/html/blah/basically_the_direct_path_to_my_server/blah'); Stripping out the path fixed both of my problems... try: define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '');
Guest Posted October 31, 2002 Posted October 31, 2002 Ian, thanks for the suggestion, I'm glad to know that I'm not the only one. However, I haven't gotten it worked out quite yet. The lines in my admin configure file read: define('DIR_FS_DOCUMENT_ROOT', '/home/path/path-www'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/path/path-www/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/path/path-www/catalog/'); // absolute path required I don't quite see where to strip out the path. It seems that if I strip out the path on the DOCUMENT_ROOT variable there will be nowhere for the computer to be directed to. Any thoughts? Thank you so much. :D Mark
mrMagoo Posted January 12, 2003 Posted January 12, 2003 Hi guys. Got the same problem and solved it with your help:-) IN CONFIGURE.PHP in the admin/include folder Changed the field to: define('DIR_FS_DOCUMENT_ROOT','/home/usr/public_html/admin/')
Guest Posted February 20, 2003 Posted February 20, 2003 I can't cotton pickin belive this: I changed the 'DIR_FS_DOCUMENT_ROOT' in configure.php in /admin/includes to /home/myserver/user-www/catalog/admin/ next try it went RIGHT IN, NO PERMISSIONS CHANGES!!!!
Guest Posted February 20, 2003 Posted February 20, 2003 Wow, I am ignorant about this stuff! :shock: After much trial and error today I finally got EP to work AND File Manager properly (I hope it sticks :? ) What was happening is when I put the /catalog/admin in the 'DIR_FS_DOCUMENT_ROOT' it was putting File Manager too far down in the tree, ie. I couldn't get to /catalog/. ONE MISTAKE I was making was the trailing forward slash: '/home/solvers1/isaiah54-www/catalog/' DO NOT HAVE IT THERE, or you will get DOUBLE "//" in your File Manager like this: File Manager /home/solvers1/isaiah54-www/catalog//images/hewlett_packard Sometimes this would error out such as many people have posted on the Forum with the permissions denied error. What I have been doing lately is closing the browser, re-logging in to my admin with the user/pass I set up through my ISP Control Panel and then I can get into FM at least for now. I appreciate any further feedback on this!! Thanks, Jay
Guest Posted February 20, 2003 Posted February 20, 2003 I wanted to say one more thing. Some people have ADMIN UNDER catalog and some have it side by side on their server. I have my admin UNDER my catalog: /catalog/admin. Another post says /serverlocation/admin, BUT ONLY if you have ADMIN by itself, and not under catalog. Following OSCDOX I had put my admin under catalog, so the path to view BOTH catalog and admin for ME was /home/serverinfo/catalog. I can now see catalog and admin directories. When I tried /home/user/serverlocation WITHOUT /catalog is when the permission errors show up! I hope this helps SOMEBODY!! :P :P :P Jay
Guest Posted February 20, 2003 Posted February 20, 2003 I just solved this exact same problem with my installation, and yes it is annoying! This should also affect your ability to post images on your website. My solution... in the application_top.php file under Admin/includes/ Original config that I tried on line 19 (as per the commented instructions "// where your pages are located on the server.. needed to delete images.. (eg, /usr/local/apache/htdocs)"): define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/var/www/html/blah/basically_the_direct_path_to_my_server/blah'); Stripping out the path fixed both of my problems... try: define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . ''); I think he meant configure.php in /admin/includes not application_top.php, anyway this seems to be SERVER DEPENDENT, if you read about what everybody else is doing to solve the problem, it is a different solution for different servers :cry: I tried the above solution and it didn't work for me..... NOW I am trying to figure out how to WRITE FILES with File Manager WITHOUT changing the ENTIRE STORE to 777. . . PLEASE HELP ANYBODY with advice on this!! Jay
SoulStorm Posted February 12, 2005 Posted February 12, 2005 I'm not getting an error, however, the banner manager in OSC 2.2 isn't working quite right for me either. I can get the default OSC banner to appear but not my own. I have verified the image for my banner has uploaded and have activated my banner in OSC. I've even left mine active and disabled the OSC one. No change. Footer has not been modified. Any ideas?
SoulStorm Posted February 12, 2005 Posted February 12, 2005 Wait, seems it only works if I add the custom banner to the default group "468x50". I am following industry standard banners as detailed by the Interactive Advertising Bureau. One of the standards is 234x60. So I make my own group called "234x60IMU" and this banner won't show. Same thing if I edit the part in the footer that goes: <?php if ($banner = tep_banner_exists('dynamic', '468x50')) { ?> Ah, I just figured it out. In OSC Admin you can't add text characters to the Group. You must specify X and Y dimensions purely using numbers. In addition, if you make your own group you must edit the footer section I mention above. So if I want to follow the IAB standard for a "full banner" ad of 468x60 I'd make a group in OSC Admin called "468x60" and modify the footer to: <?php if ($banner = tep_banner_exists('dynamic', '468x60')) { ?> The cool part is that you can make "468x60" your OSC Group name and modify the Footer to that resolution but you don't need to put a banner image that's actually that size. You can use smaller banners in the group. In other words if I used 468x60 I can upload and use a half banner image which is 234x60. ...and OSC won't scale the image to look stretched out to fit 468x60. So I figured something out but this confuses me why they let you use the Group selection at all. I'd like to manage banners by their size. Ah, I can if I add other "if" statements to the footer where all groups can exist at the same time that would be exactly what I want. I'll tinker around when I get more time. For now this will do.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.