Support > cpg1.5 upgrading

Running update.php

(1/3) > >>

martheijnens:
Hello! I am new to this forum, so maybe i make some mistakes because i am in a hurry to run my gallery again. My problem is this. I upgraded to the newest version. I followed the instructions and everything went fine ... untill I wanted to run the update.php. I got the following message:

Invalid path: /domains/wonderfultravels.nl/public_html/themas/update.php{$debug_mode}, Paths must also begin with a forward slash (/)

As far as I can see it starts with a slash, so what on earth have I done wrong?

Thanks for your help!

Mathew

Stramm:
When I try to run it, all looks good... please try again and report back here.

http://wonderfultravels.nl/themas/update.php

martheijnens:
Thank for your response. I am happy that somebody responded anyway!

I tried that but in that case the file cannot be found on the server of my provider. What I tried is this: I found the update file in de main directory (in my case: themas), I clicked on the file, the script started to run and blocked resulting in the message as mentioned before. After that I could not access the photogallery anymore, mentioning "critical error".

What i have done now is this. I uploaded the old version of Coppermine (1.5.20), placed the old config.inc.php in the include-directory and the old anycontent.php in the main directory (themas) and the gallery worked fine again. Should I better stay with this version?

martheijnens:
Some additional information:
- I have an account on the server of my provider.
- That account has two domains because I have two websites. One of those is wonderfultravels.
- In the domain of wonderfultravels are several folders. One of them is public_html which contains the website.
- Public_html contains several folders which contain different parts of my website.
- One of those folders is 'themas' which contains my coppermine folders and a number of php-files, including the update.php.

Can it be that the problem is caused by the name of the folder 'themas' in stead of 'coppermine'?

Αndré:

--- Quote from: martheijnens on September 15, 2016, 10:02:20 pm ---Can it be that the problem is caused by the name of the folder 'themas' in stead of 'coppermine'?

--- End quote ---
No.

Please perform the upgrade as described in the docs. But this time, login as admin before running update.php. If it still doesn't work, open update.php with a text editor, find

--- Code: ---<form name="cpgform" id="cpgform" method="post" action="update.php{$debug_mode}">
--- End code ---
replace with

--- Code: ---<form name="cpgform" id="cpgform" method="post" action="update.php">
--- End code ---
and visit update.php with your browser again.

Navigation

[0] Message Index

[#] Next page

Go to full version