error when try to install cpg1.6.x by using cpg_installer_stub error when try to install cpg1.6.x by using cpg_installer_stub
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

error when try to install cpg1.6.x by using cpg_installer_stub

Started by axial63, December 21, 2018, 07:18:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

axial63

Hi,

Everytime i try de installer_stub I get the following message:
QuoteWarning: fopen(): open_basedir restriction in effect. File(/tmp/cpg_upd_1545413514.zip) is not within the allowed path(s): (/home/sites/site48381/) in /home/sites/site48381/subdomains/fotobase/cpg_installer_stub.php on line 219

Warning: fopen(/tmp/cpg_upd_1545413514.zip): failed to open stream: Operation not permitted in /home/sites/site48381/subdomains/fotobase/cpg_installer_stub.php on line 219

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/sites/site48381/subdomains/fotobase/cpg_installer_stub.php on line 220
Could not save package file. Operation aborted.

Install shout be easy, following the guidlines: install the install_stub in the map where you like to new install (or update) Copermine.

In this case i would like to install in a subdomain (fotobase) and after activating the installer_stub i get the choice:
Quoteinstall location:
- update / upgrade current CPG installation
- new installation in current directory
- new installation in separate map

availlable install packages:
- cpg release 1.6.04 (current version)
- cpg developer release 1.6.03
- get the latest package
whithin 10 seconds the error accurs...

The same when i try to update current install

This leads to an installer_log.txt that says:
QuoteGETTING: 1.6.04
and further no info..??!

The stub seems to search for a .zip file that is not in my domain. (logic, there is no path outside the domain only a search to a /tmp map

Anybody knows a work arround?
Please?

ron4mac

Your site has too many restrictions and different file ownerships to install CPG 1.6.x using this method. You will need to install manually.
http://coppermine-gallery.net/docs/curr/en/upgrading.htm#upgrade_any