Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Realinfo on February 27, 2009, 09:17:42 AM

Title: too many errors in error log
Post by: Realinfo on February 27, 2009, 09:17:42 AM
 sir
too many errors are coming in error log

<-- Jack -->    Today at 07:43:44 pm
     
http://realinfo.info/index.php?action=packages;sa=browse
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(*/package-info.xml/Spy Kid.gif) is not within the allowed path(s): (c:\example\realinfo.info)
File: C:\example\realinfo.info\Sources\Subs-Package.php
Line: 421
Title: Re: too many errors in error log
Post by: assam_siddibapa on February 27, 2009, 10:32:56 AM
Last mods installed ?
SMF version number
Title: Re: too many errors in error log
Post by: karlbenson on February 27, 2009, 11:31:23 AM
They are relatedf to open_basedir which seems to be enabled on your host.

Every time smf tries to use file_exists() function, it returns an error which smf is logging.

The only thing i could recommend is at the line 421 of Sources/SubsPackages.php
find the function file_exists and add a @ before the function to shut up the errors eg

@file_exists();
Title: Re: too many errors in error log
Post by: Realinfo on February 27, 2009, 08:30:34 PM
SMF 1.1.8 and Lite galary was last installed mod...

these errors ( more than 1000 in one min) come when as Admin I click on BROWSE PAKAGES in.......      ADMIN/PACKAGES/BROWSE PACKAGES..................
Title: Re: too many errors in error log
Post by: JimM on March 08, 2009, 09:30:48 PM
@Realinfo - did you discuss this issue with your host? regularexpression pointed out the issue and gave you a fix.  Any update?
Title: Re: too many errors in error log
Post by: Realinfo on March 08, 2009, 09:37:29 PM
my host don't know anything, he is poor fellow............. and still i'm getting too many error log.. many are due to google tagged, I removed that MOD, but when i removed it, it gave me error, so Google tagged mod is not completely removed, so Spiders tries to crawl on tagged, and when they not find that page, it generate Error in error log, so tell me how I mannually remove google tagged MOD...................
Title: Re: too many errors in error log
Post by: JimM on March 08, 2009, 11:45:42 PM
If you know which file you got the error on when uninstalling, you would be ahead of the game.  Here is the link that shows the edits that would have to be removed.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1245;attach=62216;smf_version=1.1.8