Results 1 to 2 of 2
-
28th Jul 2010, 09:40 AM #1OPMemberWebsite's:
thedailygrindforum.comSome errors I can't fix
I recently installed a sitemap generator on my site. And I noticed that it was not working properly, so I decided to run the task manually and then I got these errors.
Code:Warning: fopen(/home/*****/public_html/forumsitemap-1.xml) [function.fopen]: failed to open stream: Permission denied in /home/*****/public_html/???????/applications/core/tasks/db30_gsmg.php on line 1655 Warning: fwrite(): supplied argument is not a valid stream resource in /home/*****/public_html/???????/applications/core/tasks/db30_gsmg.php on line 1656 Warning: fclose(): supplied argument is not a valid stream resource in /home/*****/public_html/???????/applications/core/tasks/db30_gsmg.php on line 1657 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 262295 bytes) in /home/*****/public_html/???????/applications/core/tasks/db30_gsmg.php on line 1636
Code:/** * Create File */ private function createFile($generateMap, $entry, $xml, $fileName) { if ( is_array( $entry ) and count( $entry ) ) { foreach( $entry as $e ) { $xml->tmp_doc .= "\n\t\t".$e."\n"; } } $xml->xml_format_document(); $doc = $xml->xml_document; if($generateMap) { if( $this->gzippossible != 0 ) { $handle = gzopen( DOC_IPS_ROOT_PATH . $fileName .'.xml.gz', "w9" ); gzwrite( $handle, $doc ); gzclose( $handle ); array_push($this->filesToindex, $fileName .'.xml.gz'); } else { $handle = fopen( DOC_IPS_ROOT_PATH . $fileName.'.xml', "w"); fwrite( $handle, $doc ); fclose( $handle ); array_push($this->filesToindex, $fileName.'.xml');
WarezFreaks Reviewed by WarezFreaks on . Some errors I can't fix I recently installed a sitemap generator on my site. And I noticed that it was not working properly, so I decided to run the task manually and then I got these errors. Warning: fopen(/home/*****/public_html/forumsitemap-1.xml) : failed to open stream: Permission denied in /home/*****/public_html/???????/applications/core/tasks/db30_gsmg.php on line 1655 Warning: fwrite(): supplied argument is not a valid stream resource in Rating: 5
-
28th Jul 2010, 12:12 PM #2MemberWebsite's:
ExpresShare.comYou on't have permission to write in this directory DOC_IPS_ROOT_PATH (Normally the forum root).
check the installation instruction for that sitemap generator there should some chmod or smth.or just chmod it temporarily so that it can write in that directory and then get the permission back to it's original.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
KWWH Errors ?
By DLow in forum General DiscussionReplies: 7Last Post: 10th Mar 2011, 04:08 AM -
Errors
By BadmaashCompany in forum vBulletinReplies: 8Last Post: 18th Jun 2010, 04:52 PM -
403 errors
By FancyPants in forum Technical Help Desk SupportReplies: 5Last Post: 22nd May 2010, 11:22 PM -
Errors!
By Royal King in forum Feedback and SuggestionsReplies: 2Last Post: 4th Jan 2010, 03:22 PM -
SQL Errors
By napps in forum vBulletinReplies: 10Last Post: 8th Nov 2009, 06:20 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...