4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: dozza on June 19, 2009, 08:35:54 AM
-
Hi
I am manually upgrading from 1.7.6.to 1.7.7.
In the instructions Here (http://www.4homepages.de/forum/index.php?topic=24794.msg135730#msg135730)
It says admin/settings.php
Search for
sort($folderlist);
for($i = 0; $i < sizeof($folderlist); $i++) {
echo "<option value=\"".$folderlist[$i]."\"";
if ($setting_value == $folderlist[$i]) {
echo " selected=\"selected\"";
}
echo ">".$folderlist[$i]."</option>\n";
}
closedir($handle);
echo "</select>";
}
And then to insert some code after it.
However, the above code appears twice in the admin/settings.php file. Which one does it refer to, or do we paste the code after both sets of the code?
Thanks
-
Paste the new code after the first set (or second, it doesn't really matter, as long as you don't paste it twice ;)).
P.S.
I've updated the instructions for this step.
-
Thanks. :D
-
P.S.
I've updated the instructions for this step.
Thanks V@no!
-
Thanks again for all the help.
Not sure if I should start a new thread on this, but here goes...: :?
I've done the manual updates to the templates and uploaded, but now I keep getting errors as follows (it's a Windows IIS server);
Parse error: parse error, unexpected T_VARIABLE in D:\Web\site\gallery\global.php on line 346
If I overwrite this file with the original global.php file, I then get similar errors, but on other files. So, I have overwritten all the new 1.7.7 files with the original 1.7.6 files and it works again.
Any suggestions as to what I might be doing wrong. I have double checked all the updated pages and I'm sure that I've entered the new code properly.
The only file I didn't update was the install.php, as it wasn't in the site and I assume I would only do this for a new install?
Thanks for any help.