forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Rana on December 20, 2007, 07:00:10 am
-
Hello
Few days ago my site has been hackered .......it was cpg1.3.5 as a books store ,
the old database and all files are safe
I put them all in a new file and made a new cpg1.4.13 in the main page.....but I don`t know to do connection
between old database and the new cpg1.4.13
please I need your help
thanks
-
Do exactly as suggested in the docs. Set up cpg1.3.5, then upgrade as suggested in the docs. Most recent stable currently is cpg1.4.14.
-
thanks alot for your help dear
could you please give me a link to download cpg1.3.5?
thanks again
-
Put your old site back up and then update. You don't need to download a copy of 1.3.5
-
Hi GauGau
they hackered my copy 1.3.5 , so many php files damaged and I need to upload them again
so I need to download a copy of 1.3.5
thanks Dear
-
this is the album
http://tootshamy.com/shamy2/
-
Put your old site back up and then update. You don't need to download a copy of 1.3.5
do what Nibbler suggests: update your gallery with the latest version (1.4.14)
-
The update process requires you to replace all files except the stuff that resides in the albums folder. Subsequently, if you're afraid to re-upload your corrupt cpg1.3.x files, then just make sure that the database is in place as well as the albums folder and the files include/config.inc.php and include/install.lock
Then upload the files from the cpg1.4.x package - this equals the same steps outlined in docs (upgrading section).
However: if your gallery got hacked (because you neglected to update so long although we have warned users that this would happen long ago), the attacker might have left backdoors and malicious files all over the webspace, so you'll have to scan the albums folder carefully for malicious files as well.
-
Dear GauGau
THANK YOU FOR YOUR HELP ALWAYS
only one file was hackered ( include/config.inc.php ) ,I re_ upload the old one and everything is oky now ,should I scan albums file??
and when I made the upgrade to copy1.4.13 becouse it is Autoinstaller in my lockalhost and
I keep all php files in ( include ) I did as they said in docs (upgrading section) but still not working
http://www.tootshamy.com/index.php
Coppermine critical error:
Unable to connect to database !
MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
( include/config.inc.php ) is right all informations are right as they are in database.... I dont know where the mistake is
I did a new install also but same error
maybe it is hard for me becouse I am arabic girl but really I try
please help
-
should I scan albums file??
Definitely yes.
and when I made the upgrade to copy1.4.13 becouse it is Autoinstaller in my lockalhost
Auto-installers are unsupported. The only supported method is the one discussed in our docs. Auto-installers are crap.
Coppermine critical error:
Unable to connect to database !
MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Ask your webhost for support.
-
Dear GauGau
I canceled what I did before ,and made all steps as in your docs, I have my site back with cpg 1.4.14 but it's empty
how should I get my album as it was befor?
http://tootshamy.com/shamy2/index.php
thanks
-
You need to use your old copy of include/config.inc.php
-
Deleted the new copy and used the old one I lost the page again and got this result
Coppermine critical error:
Unable to connect to database !
MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
what should I do?
-
Your include/config.inc.php file is corrupted. Repair the top of the file so it looks like this:
<?php
// Coppermine configuration file
// MySQL configuration
$CONFIG['dbserver'] = 'xxx'; // Your database server
$CONFIG['dbuser'] = 'xxx'; // Your mysql username
$CONFIG['dbpass'] = 'xxx'; // Your mysql password
$CONFIG['dbname'] = 'xxx'; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg135_';
?>
-
I did as you said
Fatal error :
.
While executing query "SELECT extension, mime, content, player FROM cpg135_filetypes;" on 0
mySQL error: Unknown column 'player' in 'field list'
please advise
-
You need to complete the update process by running update.php
-
GauGau
Nibbler
You are great team .....thanks ....thanks......thanks
I am so happy to have my book store again.....thanks for your help
the last help Ineed is the language ....arabic apears so strange and all section names does not appeare in arabic
please advise
-
You probably need to use charsetmgr.php to convert your content to utf-8.
-
please give the file.... or tell me from where i can get it
I think the language shouls be arabic windows
-
I want to ask about old (albums)wich we put it in (edit)....should I put it in the pleace of the new (albums)?
becouse I could not download books
Please be patient as it's difficult for me and I am doing all my best
Thanks for your help
-
please give the file.... or tell me from where i can get it
http://tootshamy.com/shamy2/charsetmgr.php
-
I changed ( lang/arabic.php) and ( charsetmgr.php ) one time to (utf-8) and another time to ( windows-1256) as it was before upgrading ,
but nothing changed
please advise
-
You're not suppossed to change the encoding of the language file, but convert the textual content of your database from proprietary encoding to utf-8