Subject: Can't recreate deleted pages on the wiki
Posted on: April 17 2018 @ 09:47 PM
By: Full+Metal+Lion
Content:
If a page was deleted, trying to create that page again will treat you to a nasty error message. For example, take a look at http://enquirer.improbableisland.com/dokuwiki/doku.php?id=playground:this_no_longer_works, a page I created and then deleted. Try to Create this page. Doesn't work.
This bug is recent. Not sure when. Probably from the last time CMJ modified the wiki-- the server move, I suppose. I remember being able to create deleted pages in the past. Or, actually, I don't specifically remember doing any such thing, but uh... I don't remember it NOT working, and I've found evidence in the fossil record that such a thing was possible. (Based on the records in http://enquirer.improbableisland.com/dokuwiki/doku.php?do=revisions&id=syntax, I think I deleted that page in 2012 and then Clueless remade it in 2015.)
In other news, on a whim I tired creating http://enquirer.improbableisland.com/dokuwiki/doku.php?id=wiki:syntax and http://enquirer.improbableisland.com/dokuwiki/doku.php?id=playground:playground, the two red links that taunt the user on the edit page. Surprisingly, it worked this time! Enjoy your new pages, my friends!
Replies:
Re: Can't recreate deleted pages on the wiki
Posted on: May 17 2018 @ 05:53 PM
By: Full+Metal+Lion
Content:
Here is the error message.
PHP Formatted Code
An error has occurred:
This is being displayed
as "Root Debugging" is enabled in your Geeklog configuration.
If this is a production website you must disable this option once you have resolved any issues you are investigating.
2 - Illegal string offset
'modified' @ /
var/www/enquirer.improbableisland.com/public_html/dokuwiki/inc/actions.php line
487
array(11) {
["act"]=>
string
(4) "edit"
["ID"]=>
&string
(31) "playground:this_no_longer_works"
["INFO"]=>
&array
(21) {
["id"]=>
string
(31) "playground:this_no_longer_works"
["rev"]=>
string
(0) ""
["isadmin"]=>
bool
(false)
["ismanager"]=>
bool
(false)
["userinfo"]=>
array(5) {
["pass"]=>
string
(15) "[VALUE REMOVED]"
["user"]=>
string
(15) "Full Metal Lion"
["name"]=>
string
(15) "Full Metal Lion"
["mail"]=>
string
(23) "[VALUE REMOVED, BUT THIS TIME BY FULL METAL LION, NOT BY THE SYSTEM LIKE THE OTHER TIMES]"
["grps"]=>
array(2) {
[0]=>
string
(8) "AllUsers"
[1]=>
string
(13) "LoggedinUsers"
}
}
["perm"]=>
string
(1) "4"
["subscribed"]=>
bool
(false)
["client"]=>
string
(15) "Full Metal Lion"
["namespace"]=>
string
(10) "playground"
["locked"]=>
bool
(false)
["filepath"]=>
string
(106) "/var/www/enquirer.improbableisland.com/public_html/dokuwiki/data/pages/playground/this_no_longer_works.txt"
["exists"]=>
bool
(false)
["writable"]=>
bool
(true)
["editable"]=>
bool
(true)
["lastmod"]=>
bool
(false)
["meta"]=>
array(6) {
["date"]=>
string
(0) ""
["creator"]=>
string
(0) ""
["last_change"]=>
string
(0) ""
["internal"]=>
string
(0) ""
["description"]=>
string
(0) ""
["relation"]=>
string
(0) ""
}
["ip"]=>
NULL
["user"]=>
NULL
["sum"]=>
NULL
["editor"]=>
NULL
["ismobile"]=>
bool
(false)
}
["TEXT"]=>
&string
(0) ""
["RANGE"]=>
&NULL
["PRE"]=>
&string
(0) ""
["SUF"]=>
&string
(0) ""
["REV"]=>
&string
(0) ""
["SUM"]=>
&string
(7) "created"
["lang"]=>
&array
(241) {
["encoding"]=>
string
(5) "utf-8"
["direction"]=>
string
(3) "ltr"
["doublequoteopening"]=>
string
(3) "“"
["doublequoteclosing"]=>
string
(3) "”"
["singlequoteopening"]=>
string
(3) "‘"
["singlequoteclosing"]=>
string
(3) "’"
["apostrophe"]=>
string
(3) "’"
["btn_edit"]=>
string
(14) "Edit this page"
["btn_source"]=>
string
(15) "Show pagesource"
["btn_show"]=>
string
(9) "Show page"
["btn_create"]=>
string
(16) "Create this page"
["btn_search"]=>
string
(6) "Search"
["btn_save"]=>
string
(4) "Save"
["btn_preview"]=>
string
(7) "Preview"
["btn_top"]=>
string
(11) "Back to top"
["btn_newer"]=>
string
(14) "<< more recent"
["btn_older"]=>
string
(14) "less recent >>"
["btn_revs"]=>
string
(13) "Old revisions"
["btn_recent"]=>
string
(14) "Recent changes"
["btn_upload"]=>
string
(6) "Upload"
["btn_cancel"]=>
string
(6) "Cancel"
["btn_index"]=>
string
(7) "Sitemap"
["btn_secedit"]=>
string
(4) "Edit"
["btn_login"]=>
string
(5) "Login"
["btn_logout"]=>
string
(6) "Logout"
["btn_admin"]=>
string
(5) "Admin"
["btn_update"]=>
string
(6) "Update"
["btn_delete"]=>
string
(6) "Delete"
["btn_back"]=>
string
(4) "Back"
["btn_backlink"]=>
string
(9) "Backlinks"
["btn_backtomedia"]=>
string
(27) "Back to Mediafile Selection"
["btn_subscribe"]=>
string
(20) "Manage Subscriptions"
["btn_profile"]=>
string
(14) "Update Profile"
["btn_reset"]=>
string
(5) "Reset"
["btn_resendpwd"]=>
string
(17) "Send new password"
["btn_draft"]=>
string
(10) "Edit draft"
["btn_recover"]=>
string
(13) "Recover draft"
["btn_draftdel"]=>
string
(12) "Delete draft"
["btn_revert"]=>
string
(7) "Restore"
["loggedinas"]=>
string
(12) "Logged in as"
["user"]=>
string
(8) "Username"
["pass"]=>
string
(15) "[VALUE REMOVED]"
["newpass"]=>
string
(15) "[VALUE REMOVED]"
["oldpass"]=>
string
(15) "[VALUE REMOVED]"
["passchk"]=>
string
(15) "[VALUE REMOVED]"
["remember"]=>
string
(11) "Remember me"
["fullname"]=>
string
(9) "Real name"
["email"]=>
string
(6) "E-Mail"
["register"]=>
string
(8) "Register"
["profile"]=>
string
(12) "User Profile"
["badlogin"]=>
string
(38) "Sorry, username or password was wrong."
["minoredit"]=>
string
(13) "Minor Changes"
["draftdate"]=>
string
(18) "Draft autosaved on"
["nosecedit"]=>
string
(92) "The page was changed in the meantime, section info was out of date loaded full page instead."
["regmissing"]=>
string
(35) "Sorry, you must fill in all fields."
["reguexists"]=>
string
(45) "Sorry, a user with this login already exists."
["regsuccess"]=>
string
(61) "The user has been created and the password was sent by email."
["regsuccess2"]=>
string
(26) "The user has been created."
["regmailfail"]=>
string
(85) "Looks like there was an error on sending the password mail. Please contact the admin!"
["regbadmail"]=>
string
(88) "The given email address looks invalid - if you think this is an error, contact the admin"
["regbadpass"]=>
string
(15) "[VALUE REMOVED]"
["regpwmail"]=>
string
(22) "Your DokuWiki password"
["reghere"]=>
string
(43) "You don't have an account yet? Just get one"
["profna"]=>
string
(47) "This wiki does not support profile modification"
["profnochange"]=>
string
(26) "No changes, nothing to do."
["profnoempty"]=>
string
(46) "An empty name or email address is not allowed."
["profchanged"]=>
string
(34) "User profile successfully updated."
["pwdforget"]=>
string
(38) "Forgotten your password? Get a new one"
["resendna"]=>
string
(46) "This wiki does not support password resending."
["resendpwd"]=>
string
(21) "Send new password for"
["resendpwdmissing"]=>
string
(35) "Sorry, you must fill in all fields."
["resendpwdnouser"]=>
string
(47) "Sorry, we can't find this user in our database."
["resendpwdbadauth"]=>
string
(86) "Sorry, this auth code is not valid. Make sure you used the complete confirmation link."
["resendpwdconfirm"]=>
string
(43) "A confirmation link has been sent by email."
["resendpwdsuccess"]=>
string
(41) "Your new password has been sent by email."
["license"]=>
string
(91) "Except where otherwise noted, content on this wiki is licensed under the following license:"
["licenseok"]=>
string
(89) "Note: By editing this page you agree to license your content under the following license:"
["searchmedia"]=>
string
(17) "Search file name:"
["searchmedia_in"]=>
string
(12) "Search in %s"
["txt_upload"]=>
string
(21) "Select file to upload"
["txt_filename"]=>
string
(20) "Upload as (optional)"
["txt_overwrt"]=>
string
(23) "Overwrite existing file"
["lockedby"]=>
string
(19) "Currently locked by"
["lockexpire"]=>
string
(15) "Lock expires at"
["willexpire"]=>
string
(130) "Your lock for editing this page is about to expire in a minute.\nTo avoid conflicts use the preview button to reset the locktimer."
["js"]=>
array(30) {
["notsavedyet"]=>
string
(29) "Unsaved changes will be lost."
["searchmedia"]=>
string
(16) "Search for files"
["keepopen"]=>
string
(29) "Keep window open on selection"
["hidedetails"]=>
string
(12) "Hide Details"
["mediatitle"]=>
string
(13) "Link settings"
["mediadisplay"]=>
string
(9) "Link type"
["mediaalign"]=>
string
(9) "Alignment"
["mediasize"]=>
string
(10) "Image size"
["mediatarget"]=>
string
(11) "Link target"
["mediaclose"]=>
string
(5) "Close"
["mediainsert"]=>
string
(6) "Insert"
["mediadisplayimg"]=>
string
(15) "Show the image."
["mediadisplaylnk"]=>
string
(19) "Show only the link."
["mediasmall"]=>
string
(13) "Small version"
["mediamedium"]=>
string
(14) "Medium version"
["medialarge"]=>
string
(13) "Large version"
["mediaoriginal"]=>
string
(16) "Original version"
["medialnk"]=>
string
(19) "Link to detail page"
["mediadirect"]=>
string
(23) "Direct link to original"
["medianolnk"]=>
string
(7) "No link"
["medianolink"]=>
string
(21) "Do not link the image"
["medialeft"]=>
string
(28) "Align the image on the left."
["mediaright"]=>
string
(29) "Align the image on the right."
["mediacenter"]=>
string
(30) "Align the image in the middle."
["medianoalign"]=>
string
(13) "Use no align."
["nosmblinks"]=>
string
(107) "Linking to Windows shares only works in Microsoft Internet Explorer.
You still can copy and paste the link."
["linkwiz"]=>
string
(11) "Link Wizard"
["linkto"]=>
string
(8) "Link to:"
["del_confirm"]=>
string
(31) "Really delete selected item(s)?"
["mu_btn"]=>
string
(29) "Upload multiple files at once"
}
["rssfailed"]=>
string
(44) "An error occurred while fetching this feed: "
["nothingfound"]=>
string
(18) "Nothing was found."
["mediaselect"]=>
string
(11) "Media Files"
["fileupload"]=>
string
(17) "Media File Upload"
["uploadsucc"]=>
string
(17) "Upload successful"
["uploadfail"]=>
string
(39) "Upload failed. Maybe wrong permissions?"
["uploadwrong"]=>
string
(48) "Upload denied. This file extension is forbidden!"
["uploadexist"]=>
string
(34) "File already exists. Nothing done."
["uploadbadcontent"]=>
string
(57) "The uploaded content did not match the %s file extension."
["uploadspam"]=>
string
(45) "The upload was blocked by the spam blacklist."
["uploadxss"]=>
string
(54) "The upload was blocked for possibly malicious content."
["uploadsize"]=>
string
(40) "The uploaded file was too big. (max. %s)"
["deletesucc"]=>
string
(31) "The file "%s
" has been deleted."
["deletefail"]=>
string
(45) ""%s
" couldn't be deleted - check permissions."
["mediainuse"]=>
string
(55) "The file "%s
" hasn't been deleted - it is still in use."
["namespaces"]=>
string
(10) "Namespaces"
["mediafiles"]=>
string
(18) "Available files in"
["accessdenied"]=>
string
(38) "You are not allowed to view this page."
["mediausage"]=>
string
(48) "Use the following syntax to reference this file:"
["mediaview"]=>
string
(18) "View original file"
["mediaroot"]=>
string
(4) "root"
["mediaupload"]=>
string
(132) "Upload a file to the current namespace here. To create subnamespaces, prepend them to your "Upload
as" filename separated by colons."
["mediaextchange"]=>
string
(37) "Filextension changed from .%s to .%s!"
["reference"]=>
string
(14) "References for"
["ref_inuse"]=>
string
(74) "The file can't be deleted, because it's still used by the following pages:"
["ref_hidden"]=>
string
(63) "Some references are on pages you don't have permission to read"
["hits"]=>
string
(4) "Hits"
["quickhits"]=>
string
(18) "Matching pagenames"
["toc"]=>
string
(17) "Table of Contents"
["current"]=>
string
(7) "current"
["yours"]=>
string
(12) "Your Version"
["diff"]=>
string
(37) "Show differences to current revisions"
["diff2"]=>
string
(43) "Show differences between selected revisions"
["difflink"]=>
string
(28) "Link to this comparison view"
["line"]=>
string
(4) "Line"
["breadcrumb"]=>
string
(5) "Trace"
["youarehere"]=>
string
(12) "You are here"
["lastmod"]=>
string
(13) "Last modified"
["by"]=>
string
(2) "by"
["deleted"]=>
string
(7) "removed"
["created"]=>
string
(7) "created"
["restored"]=>
string
(21) "old revision restored"
["external_edit"]=>
string
(13) "external edit"
["summary"]=>
string
(12) "Edit summary"
["noflash"]=>
string
(114) "The <a href="http:
//www.adobe.com/products/flashplayer/">Adobe Flash Plugin</a> is needed to display this content."
["download"]=>
string
(16) "Download Snippet"
["mail_newpage"]=>
string
(11) "page added:"
["mail_changed"]=>
string
(13) "page changed:"
["mail_subscribe_list"]=>
string
(27) "pages changed in namespace:"
["mail_new_user"]=>
string
(9) "new user:"
["mail_upload"]=>
string
(14) "file uploaded:"
["qb_bold"]=>
string
(9) "Bold Text"
["qb_italic"]=>
string
(11) "Italic Text"
["qb_underl"]=>
string
(15) "Underlined Text"
["qb_code"]=>
string
(9) "Code Text"
["qb_strike"]=>
string
(19) "Strike-through Text"
["qb_h1"]=>
string
(16) "Level 1 Headline"
["qb_h2"]=>
string
(16) "Level 2 Headline"
["qb_h3"]=>
string
(16) "Level 3 Headline"
["qb_h4"]=>
string
(16) "Level 4 Headline"
["qb_h5"]=>
string
(16) "Level 5 Headline"
["qb_h"]=>
string
(8) "Headline"
["qb_hs"]=>
string
(15) "Select Headline"
["qb_hplus"]=>
string
(15) "Higher Headline"
["qb_hminus"]=>
string
(14) "Lower Headline"
["qb_hequal"]=>
string
(19) "Same Level Headline"
["qb_link"]=>
string
(13) "Internal Link"
["qb_extlink"]=>
string
(13) "External Link"
["qb_hr"]=>
string
(15) "Horizontal Rule"
["qb_ol"]=>
string
(17) "Ordered List Item"
["qb_ul"]=>
string
(19) "Unordered List Item"
["qb_media"]=>
string
(26) "Add Images and other files"
["qb_sig"]=>
string
(16) "Insert Signature"
["qb_smileys"]=>
string
(7) "Smileys"
["qb_chars"]=>
string
(13) "Special Chars"
["upperns"]=>
string
(24) "jump to parent namespace"
["admin_register"]=>
string
(12) "Add new user"
["metaedit"]=>
string
(13) "Edit Metadata"
["metasaveerr"]=>
string
(23) "Writing metadata failed"
["metasaveok"]=>
string
(14) "Metadata saved"
["img_backto"]=>
string
(7) "Back to"
["img_title"]=>
string
(5) "Title"
["img_caption"]=>
string
(7) "Caption"
["img_date"]=>
string
(4) "Date"
["img_fname"]=>
string
(8) "Filename"
["img_fsize"]=>
string
(4) "Size"
["img_artist"]=>
string
(12) "Photographer"
["img_copyr"]=>
string
(9) "Copyright"
["img_format"]=>
string
(6) "Format"
["img_camera"]=>
string
(6) "Camera"
["img_keywords"]=>
string
(8) "Keywords"
["subscr_subscribe_success"]=>
string
(36) "Added %s to subscription list for %s"
["subscr_subscribe_error"]=>
string
(43) "Error adding %s to subscription list for %s"
["subscr_subscribe_noaddress"]=>
string
(92) "There is no address associated with your login, you cannot be added to the subscription list"
["subscr_unsubscribe_success"]=>
string
(40) "Removed %s from subscription list for %s"
["subscr_unsubscribe_error"]=>
string
(47) "Error removing %s from subscription list for %s"
["subscr_already_subscribed"]=>
string
(30) "%s is already subscribed to %s"
["subscr_not_subscribed"]=>
string
(26) "%s is not subscribed to %s"
["subscr_m_not_subscribed"]=>
string
(66) "You are currently not subscribed to the current page or namespace."
["subscr_m_new_header"]=>
string
(16) "Add subscription"
["subscr_m_current_header"]=>
string
(21) "Current subscriptions"
["subscr_m_unsubscribe"]=>
string
(11) "Unsubscribe"
["subscr_m_subscribe"]=>
string
(9) "Subscribe"
["subscr_m_receive"]=>
string
(7) "Receive"
["subscr_style_every"]=>
string
(21) "email on every change"
["subscr_style_digest"]=>
string
(55) "digest email of changes for each page (every %.2f days)"
["subscr_style_list"]=>
string
(56) "list of changed pages since last email (every %.2f days)"
["authmodfailed"]=>
string
(69) "Bad user authentication configuration. Please inform your Wiki Admin."
["authtempfail"]=>
string
(106) "User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin."
["i_chooselang"]=>
string
(20) "Choose your language"
["i_installer"]=>
string
(18) "DokuWiki Installer"
["i_wikiname"]=>
string
(9) "Wiki Name"
["i_enableacl"]=>
string
(24) "Enable ACL (recommended)"
["i_superuser"]=>
string
(9) "Superuser"
["i_problems"]=>
string
(99) "The installer found some problems, indicated below. You can not continue until you have fixed them."
["i_modified"]=>
string
(314) "For security reasons this script will only work with a new and unmodified Dokuwiki installation.
You should either re-extract the files from the downloaded package or consult the complete
<a href="http:
//dokuwiki.org/install">Dokuwiki installation instructions</a>"
["i_funcna"]=>
string
(103) "PHP function <code>%s</code> is not available. Maybe your hosting provider disabled it for some reason?"
["i_phpver"]=>
string
(112) "Your PHP version <code>%s</code> is lower than the needed <code>%s</code>. You need to upgrade your PHP install."
["i_permfail"]=>
string
(103) "<code>%s</code> is not writable by DokuWiki. You need to fix the permission settings of this directory!"
["i_confexists"]=>
string
(30) "<code>%s</code> already exists"
["i_writeerr"]=>
string
(113) "Unable to create <code>%s</code>. You will need to check directory/file permissions and create the file manually."
["i_badhash"]=>
string
(60) "unrecognised or modified dokuwiki.php (hash=<code>%s</code>)"
["i_badval"]=>
string
(40) "<code>%s</code> - illegal or empty value"
["i_success"]=>
string
(163) "The configuration was finished successfully. You may delete the install.php file now. Continue to
<a href="doku.php
">your new DokuWiki</a>."
["i_failure"]=>
string
(179) "Some errors occurred while writing the configuration files. You may need to fix them manually before
you can use <a href="doku.php
">your new DokuWiki</a>."
["i_policy"]=>
string
(18) "Initial ACL policy"
["i_pol0"]=>
string
(44) "Open Wiki (read, write, upload for everyone)"
["i_pol1"]=>
string
(70) "Public Wiki (read for everyone, write and upload for registered users)"
["i_pol2"]=>
string
(59) "Closed Wiki (read, write, upload for registered users only)"
["i_retry"]=>
string
(5) "Retry"
["i_license"]=>
string
(61) "Please choose the license you want to put your content under:"
["mu_intro"]=>
string
(117) "Here you can upload multiple files at once. Click the browse button to add them to the queue. Press upload when done."
["mu_gridname"]=>
string
(8) "Filename"
["mu_gridsize"]=>
string
(4) "Size"
["mu_gridstat"]=>
string
(6) "Status"
["mu_namespace"]=>
string
(9) "Namespace"
["mu_browse"]=>
string
(6) "Browse"
["mu_toobig"]=>
string
(7) "too big"
["mu_ready"]=>
string
(16) "ready for upload"
["mu_done"]=>
string
(8) "complete"
["mu_fail"]=>
string
(6) "failed"
["mu_authfail"]=>
string
(15) "session expired"
["mu_progress"]=>
string
(15) "@PCT@% uploaded"
["mu_filetypes"]=>
string
(17) "Allowed Filetypes"
["mu_info"]=>
string
(15) "files uploaded."
["mu_lasterr"]=>
string
(11) "Last error:"
["recent_global"]=>
string
(142) "You're currently watching the changes inside the <b>%s</b> namespace. You can also <a href="%s
">view the recent changes of the whole wiki</a>."
["years"]=>
string
(12) "%d years ago"
["months"]=>
string
(13) "%d months ago"
["weeks"]=>
string
(12) "%d weeks ago"
["days"]=>
string
(11) "%d days ago"
["hours"]=>
string
(12) "%d hours ago"
["minutes"]=>
string
(14) "%d minutes ago"
["seconds"]=>
string
(14) "%d seconds ago"
["wordblock"]=>
string
(66) "Your change was not saved because it contains blocked text (spam)."
}
["DATE"]=>
&NULL
}
The Improbable Island Enquirer - Forum
http://enquirer.improbableisland.com/forum/viewtopic.php?showtopic=34403