|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
When I manually build the sitemaps after pruning and moving, I see the following errors displayed. They are only flashed on-screen very briefly before going to a "processing..." message. The sitemaps appear to be being built okay as far as I can tell--google has been mostly happy so far. Quote: Processing: ... Warning: scandir(sitemap) [function.scandir]: failed to open dir: Permission denied in [path]/includes/class_sitemap.php on line 903 Warning: scandir() [function.scandir]: (errno 13): Permission denied in [path]/includes/class_sitemap.php on line 903 Warning: Invalid argument supplied for foreach() in [path]/includes/class_sitemap.php on line 904 Processing: vbulletin_sitemap_forum_0_25.xml I looked at the referenced file after I figured out how to add line numbers, but I don't know what I'm looking at to begin with. Here is what is on the referenced line numbers in the referenced file, the pasted code begins with line 897 and ends on 914: PHP Code: // Create it and write it all out if ($fp = @fopen($this->registry->options['sitemap_path'] . '/' . $new_file, 'w')) { fwrite($fp, $content); fclose($fp); return $new_file; } else { $this->errors[] = 'Error writing : ' . $this->registry->options['sitemap_path'] . '/' . $new_file; return false; } } /** Well it pastes like crap. Line 903 is this: " return $new_file;" and line 904 is this: "}". Any help that anyone can give would be much appreciated. __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
أدوات الموضوع | |
انواع عرض الموضوع | |
| |