install.php not carrying "?continue_anyway=1" install.php not carrying "?continue_anyway=1"
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

install.php not carrying "?continue_anyway=1"

Started by the_todd, October 25, 2005, 01:34:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

the_todd

if you are installing CPG and have a folder called "modules" two levels up then CPG will not let you install it, it perturbs you to hit the "continue anyway" and takes you to the config form, with "?continue_anyway=1" in the url, but once you fill in the form and hit submit it doesn't carry the "continue_anyway" variable and you are back to square one. A solution to this would be to put a hidden field with name "continue_anyway" and value = "1" in each form, since in the function uses $_REQUEST, or an easier route would be to cookie the continue_anyway in an else statement after "if (is_dir('../../modules') && $_REQUEST['continue_anyway'] != 1)" .

~Todd

Nibbler