Results 1 to 2 of 2
Threaded View
-
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
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.47 released. Open older version (or...