forum.coppermine-gallery.net
Support => cpg1.6.x Support => cpg1.6 install => Topic started by: KurisuSparda on January 06, 2020, 02:37:25 am
-
So I'm trying to install Coppermine for a college project. Everything went fine until I was already at my localhost on the install.php.
After pressing the Let's Go button on the first screen the second step appeared, but it's just a blank screen with the coppermine logo and a blue bar that says "Checking installations files", and it doesn't do anything at all.
I even tried with the stub several times because I checked a lot of topics here before deciding to make an account but it didn't work either and it's really stressing me out, and I don't know what I'm doing wrong. If anyone could help me out I would really appreciate it.
-
Perhaps this will help:
https://forum.coppermine-gallery.net/index.php/topic,79961.msg387363.html#msg387363
If you use the cpg_installer_stub, choose to install the version listed at the bottom of the list (in red).
-
I did look at that post before posting myself but it didn't really work. I tried what you said but an error appears at step 2 saying "PHP must be enabled for XML parsing". I do have php-xml installed since the other person also had problems with that, so I don't get why is this happening.
-
I do have php-xml installed since the other person also had problems with that, so I don't get why is this happening.
Perhaps you need a restart.
-
You mean a php restart or a system restart?
-
You haven't given any system info ... so apply as needed.
Check that php-xml installed okay. Something like...
$ php -i | grep xml
/etc/php/7.3/cli/conf.d/15-xml.ini,
/etc/php/7.3/cli/conf.d/20-simplexml.ini,
/etc/php/7.3/cli/conf.d/20-xmlreader.ini,
/etc/php/7.3/cli/conf.d/20-xmlwriter.ini,
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
libxml Version => 2.9.4
libxml
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
xml
libxml2 Version => 2.9.4
xmlreader
xmlwriter
libxslt compiled against libxml Version => 2.9.4
If all good there, at least restart apache:
sudo systemctl restart apache2
-
That worked since I had php xml installed for 7.3 when I have 7.0, so I installed it, thank you! But now I'm stuck in step 6. Says connection is okay when I input the database user and password but when I click to next step it goes back to step 6. Also for some reason the option of MySQL itself is not available, just MySQLI and PDO:MySQL.
-
PHP 7.x does not provide the old mysql_ functions ... only mysqli_ or PDO:mysql.
Make sure you have a database created and the database user has all permissions.
https://coppermine-gallery.net/docs/curr/en/install.htm#how_database_info
-
Oh god I was pretty sure I did the grant all priviledges and flush priviledges commands, I wrote them again and it worked, thank you so much.