Re: Edit page stopped working

"Harold Hallikainen" <[email protected]> Tue, 21 Jul 2020 09:10:25 -0700
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
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 <[email protected]>
>> Sent: Monday, July 20, 2020 2:30 AM
>> To: [email protected]
>> 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
>> [email protected]
>> 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.