From: Harold H. <ha...@ha...> - 2020-07-20 01:29:03
|
I've recently been deleting spam pages and appear to have broken something. All my pages still seem to be there, but now when I try to edit any page, I get this: Warning: "fopen(/home/harold/BhWikiData/links/): failed to open stream: Is a directory" Fatal PhpWiki Error: Error while writing page '' Ideas? Thanks! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an iPhone. |
From: Harold H. <ha...@ha...> - 2020-07-20 17:54:26
|
Yes, I'm using a flat file. A while back, the wiki got spammed and there were a bunch of pages created with /etc/passwd or database commands. I've been removing those files in the page_data directory. I'd first copy them to a backup directory, make sure the page was still visible (these were generally a bunch of stuff tacked on to a page name), then, if the page seemed to still be good, I deleted the file. Now, however, I discover that I can't edit the pages. What is the links directory? I thought pretty much everything was contained in the page_data for each page (but perhaps links holds backlinks?). I thought the httpd error log would show the php errors, but I'm not finding them there (I find other PHP errors). It is, of course, true that /home/harold/BhWikiData/links/ is a directory, but why is it trying to be opened? Should it instead be opening a file within that directory? I guess I'll dig into the code some once I can find some indication as to what line of what PHP file is causing the issue. THANKS for the quick response! Harold > Hi Harold, > > The error message seems to imply that you are using file of flatfile as > storage backend. > Is it so? > > In that case, I am not sure I can help, I am always testing Phpwiki with a > database. > > Best regards, > > Marc-Etienne > > -----Original Message----- > From: Harold Hallikainen <ha...@ha...> > Sent: Monday, July 20, 2020 2:30 AM > To: php...@li... > Subject: [Phpwiki-talk] Edit page stopped working > > I've recently been deleting spam pages and appear to have broken > something. All my pages still seem to be there, but now when I try to edit > any page, I get this: > > Warning: "fopen(/home/harold/BhWikiData/links/): failed to open stream: Is > a directory" > > Fatal PhpWiki Error: Error while writing page '' > > Ideas? > > Thanks! > > Harold > > > > > -- > FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an > iPhone. > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > -- FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an iPhone. |
From: Vargenau, Marc-E. (N. - FR/Paris-Saclay)
<mar...@no...> - 2020-07-20 19:25:28
|
Hi Harold, The error message seems to imply that you are using file of flatfile as storage backend. Is it so? In that case, I am not sure I can help, I am always testing Phpwiki with a database. Best regards, Marc-Etienne -----Original Message----- From: Harold Hallikainen <ha...@ha...> Sent: Monday, July 20, 2020 2:30 AM To: php...@li... Subject: [Phpwiki-talk] Edit page stopped working I've recently been deleting spam pages and appear to have broken something. All my pages still seem to be there, but now when I try to edit any page, I get this: Warning: "fopen(/home/harold/BhWikiData/links/): failed to open stream: Is a directory" Fatal PhpWiki Error: Error while writing page '' Ideas? Thanks! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an iPhone. _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |
From: Harold H. <ha...@ha...> - 2020-07-21 16:10:50
|
OK, it fixed itself! I was going to start looking at the PHP error messages and code this morning, but now I can edit pages fine. Nice to avoid some work! THANKS for being there! Harold > Yes, I'm using a flat file. A while back, the wiki got spammed and there > were a bunch of pages created with /etc/passwd or database commands. I've > been removing those files in the page_data directory. I'd first copy them > to a backup directory, make sure the page was still visible (these were > generally a bunch of stuff tacked on to a page name), then, if the page > seemed to still be good, I deleted the file. Now, however, I discover that > I can't edit the pages. > > What is the links directory? I thought pretty much everything was > contained in the page_data for each page (but perhaps links holds > backlinks?). > > I thought the httpd error log would show the php errors, but I'm not > finding them there (I find other PHP errors). > > It is, of course, true that /home/harold/BhWikiData/links/ is a directory, > but why is it trying to be opened? Should it instead be opening a file > within that directory? > > I guess I'll dig into the code some once I can find some indication as to > what line of what PHP file is causing the issue. > > THANKS for the quick response! > > Harold > > > > >> Hi Harold, >> >> The error message seems to imply that you are using file of flatfile as >> storage backend. >> Is it so? >> >> In that case, I am not sure I can help, I am always testing Phpwiki with >> a >> database. >> >> Best regards, >> >> Marc-Etienne >> >> -----Original Message----- >> From: Harold Hallikainen <ha...@ha...> >> Sent: Monday, July 20, 2020 2:30 AM >> To: php...@li... >> Subject: [Phpwiki-talk] Edit page stopped working >> >> I've recently been deleting spam pages and appear to have broken >> something. All my pages still seem to be there, but now when I try to >> edit >> any page, I get this: >> >> Warning: "fopen(/home/harold/BhWikiData/links/): failed to open stream: >> Is >> a directory" >> >> Fatal PhpWiki Error: Error while writing page '' >> >> Ideas? >> >> Thanks! >> >> Harold >> >> >> >> >> -- >> FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an >> iPhone. >> >> >> _______________________________________________ >> Phpwiki-talk mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk >> >> > > > -- > FCC Rules Updated Daily at http://www.hallikainen.com > Not sent from an iPhone. > -- FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an iPhone. |
From: Vargenau, Marc-E. (N. - FR/Paris-Saclay)
<mar...@no...> - 2020-07-21 16:28:23
|
Hi Harold, Good news! Thank you for supporting Phpwiki. Marc-Etienne -----Original Message----- From: Harold Hallikainen <ha...@ha...> Sent: Tuesday, July 21, 2020 6:10 PM To: Harold Hallikainen <ha...@ha...> Cc: Vargenau, Marc-Etienne (Nokia - FR/Paris-Saclay) <mar...@no...>; Discussion on PhpWiki features, bugs, development. <php...@li...>; Harold Hallikainen <ha...@ha...> Subject: RE: [Phpwiki-talk] Edit page stopped working OK, it fixed itself! I was going to start looking at the PHP error messages and code this morning, but now I can edit pages fine. Nice to avoid some work! THANKS for being there! Harold > Yes, I'm using a flat file. A while back, the wiki got spammed and > there were a bunch of pages created with /etc/passwd or database > commands. I've been removing those files in the page_data directory. > I'd first copy them to a backup directory, make sure the page was > still visible (these were generally a bunch of stuff tacked on to a > page name), then, if the page seemed to still be good, I deleted the > file. Now, however, I discover that I can't edit the pages. > > What is the links directory? I thought pretty much everything was > contained in the page_data for each page (but perhaps links holds > backlinks?). > > I thought the httpd error log would show the php errors, but I'm not > finding them there (I find other PHP errors). > > It is, of course, true that /home/harold/BhWikiData/links/ is a > directory, but why is it trying to be opened? Should it instead be > opening a file within that directory? > > I guess I'll dig into the code some once I can find some indication as > to what line of what PHP file is causing the issue. > > THANKS for the quick response! > > Harold > > > > >> Hi Harold, >> >> The error message seems to imply that you are using file of flatfile >> as storage backend. >> Is it so? >> >> In that case, I am not sure I can help, I am always testing Phpwiki >> with a database. >> >> Best regards, >> >> Marc-Etienne >> >> -----Original Message----- >> From: Harold Hallikainen <ha...@ha...> >> Sent: Monday, July 20, 2020 2:30 AM >> To: php...@li... >> Subject: [Phpwiki-talk] Edit page stopped working >> >> I've recently been deleting spam pages and appear to have broken >> something. All my pages still seem to be there, but now when I try to >> edit any page, I get this: >> >> Warning: "fopen(/home/harold/BhWikiData/links/): failed to open stream: >> Is >> a directory" >> >> Fatal PhpWiki Error: Error while writing page '' >> >> Ideas? >> >> Thanks! >> >> Harold >> >> >> >> >> -- >> FCC Rules Updated Daily at http://www.hallikainen.com Not sent from >> an iPhone. >> >> >> _______________________________________________ >> Phpwiki-talk mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk >> >> > > > -- > FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an > iPhone. > -- FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an iPhone. |