moving (used) script up moving (used) script up
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

moving (used) script up

Started by niek, November 09, 2003, 02:32:32 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

niek

Hello,

I am having the following problem.

Several month ago i installed the script. Everything was running perfectly.
Execpt for one thing. The server were i hosted the script put index.php before index.html.

I found it out when i wanted to put the script into a html frame based document.

There for the index on the server is html and the script is index.php
I spoke to the webmaster of the server but he said he cannot change it (technically its possible, but there are other homepages running and if he changed it to index.html stuff could get messy)

He advised me to put the entire script one (tree) dir up. so
instead of http://trancemaster.nkiteam.de/index.php i had to use http://trancemaster.nkiteam.de/.../index.php
where in the root of the server /... i can use index.html

Ok so far so good.
i changed all of that but the links in de php script still refer to http://trancemaster.nkiteam.de/index.php. i did not know where i could change that.
So i figure out to use "install.php" again.

I backuped my entire script (incl all the photo's of the members) to my local harddrive.

I downloaded the cpg 1.2.0 and uploaded to the new place. where i installed it.

the result you can see here
http://trancemaster.nkiteam.de/ (go to the gallery if you want to access the script.

As you can see its empty again! I thought (stupid me) if i could upload the album dir again (with all the photo;s) the script would be ok again.

Well not offcourse.

All the users and categories i made are gone.

Now my question: which files (.php) should i overwrite on the new installed script?

like i said i backuped everyting and i guess it a matter of overwriting certain new files with the older ones (which contain users/photos/categorys etc)

Thanks in advance

niek

hmm i uploaded the "include" directory and i can see the users and the category again
but the main index page is still not good.
there are no random pictures or last uploads available..

Joachim Müller

the info on categories/albums/pics/users aren't stored in files, but the mySQL database, so it's no use in fiddling with files.
Coppermine should work perfectly if you move the files anywhere else, you'll just have to change the "link to ecards" value in the config section.

 http://trancemaster.nkiteam.de/.../index.php is of course bullshit, make it  http://trancemaster.nkiteam.de/coppermine/index.php and it should work (if you haven't messed with it too much already).

GauGau