Fork me on GitHub

pnUpper pnForum confirm delete redirect issue  Bottom

  • Ok who's bug is this?

    Using pnForum 2.6 and a cvs download of pnUpper... When I click confirm delete I am redirected to http://MySite/pnInstallation/pnInstallation/index.php?etc...

    You'll notice the subdirectory is repeated in this URL leading to a server error. I'm not sure were $backurl origionates in this case, but pnRedirect allready includes pnBaseURI in it's functionality.

    I solved this by including the following line in pnUpper/pnuser.php function pnUpper_user_deleteupload($args) around line 742 (just before the return pnRedirect()):

    Code

    $backurl = str_replace(pnGetBaseURI(), '', $backurl);


    But I'm really unsure if the problem is here, or if it's in pnForums sending of $backurl.

    Insight?

    --
    Under Construction!
  • This bug seems to be part of pnUpper.
    I thought that all problems with PN in a subdir would have been solved icon_rolleyes
    However, I will look into this properly for the next version wink

This list is based on users active over the last 60 minutes.