View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
2318 | Composr | news | public | 2016-03-19 04:21 | 2016-05-21 13:39 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | normal | Severity | minor | ||
Status | resolved | Resolution | fixed | ||
Summary | 2318: Composr 10b4: Adding a news results in an error about missing sitemap file | ||||
Description | PHP WARNING [2] fopen(data_custom/sitemaps/news_sitemap.xml) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: failed to open stream: No such file or directory in sources/news_sitemap.php on line 32 (version: 10 beta4, PHP version: 5.4.16, URL: /cms/cms-news/_add?redirect=https%3A%3Aslash%3A%3Aslash%3Alovinity.org%3Aslash%3Astart&uploading=1) | ||||
Additional Information | I don't remember ever deleting the sitemap. This issue has also existed in prior installations of Composr as well. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
This was fixed already, but workaround is to make the data_custom/sitemaps directory. |
|
I did this work around, and I still get this error To be more specific, if I set the "validate news" at "off" I don't get this message. Then if after creating the news, I validate it, I don't get this error But if I try to create a news and leave the "Validate" at "On" then I get the error |
|
Hi, Could you try this replacement for sources/news_sitemap.php: https://raw.githubusercontent.com/ocproducts/composr/f5f67d0298c48a96df6636b1f4ee8951db39a7c5/sources/news_sitemap.php It will fix a problem with shared-install support and also replace the directory if somehow it's gone missing. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-03-19 04:21 | PDStig | New Issue | |
2016-03-21 22:27 | Chris Graham | Note Added: 0003456 | |
2016-03-21 22:27 | Chris Graham | Status | Not Assigned => Resolved |
2016-03-21 22:27 | Chris Graham | Resolution | open => fixed |
2016-03-21 22:27 | Chris Graham | Assigned To | => Chris Graham |
2016-05-20 13:31 | Guest | Note Added: 0003948 | |
2016-05-20 13:36 | Guest | Note Edited: 0003948 | View Revisions |
2016-05-21 13:39 | Chris Graham | Note Added: 0003952 |