Page 1 of 1

Error at upgrading to 4.3

Posted: 31 May 2016, 15:56
by headtrick
Dear all,

I get the error -1 Copy file failed after upgrading to Version 4.3.0 of Phoca Gallery. I tried to upload the zip, as well as install from path.
After the installation the controllcenter tells me that the version is 4.3.0, so something must have happened.

However I also get the following warning when displaying the categories view:
Notice: Undefined property: stdClass::$image_id in .../components/com_phocagallery/models/categories.php on line 171

The downgrade to 4.2.2 yields the same installation error, but then at least no warnings.

I don't use ftp and all folder permissions are correct according to Joomla and my knowledge.

Best,
Michael

Re: Error at upgrading to 4.3

Posted: 31 May 2016, 17:46
by Ribberholt
I get the following warning when trying to acces my gallery on the page:

Fatal error: Class 'Joomla\String\StringHelper' not found in /customers/5/0/0/fiftif.dk/httpd.www/MCklubben/administrator/components/com_phocagallery/libraries/phocagallery/text/text.php on line 17

Also after upgrading to version 4.3

Re: Error at upgrading to 4.3

Posted: 02 Jun 2016, 00:16
by Jan
Hi,
Ribberholt do you use Joomla! 3.5?

headtrick - when you enable debug mode when installing, do you get any specific error?

Jan

Re: Error at upgrading to 4.3

Posted: 02 Jun 2016, 14:07
by headtrick
Then I get a whole table of things that went wrong.. Oo

-1 Copy file failed
Call stack
# Function Location
1 JApplicationCms->execute() /.../administrator/index.php:51
2 JApplicationAdministrator->doExecute() /.../libraries/cms/application/cms.php:257
3 JApplicationAdministrator->dispatch() /.../libraries/cms/application/administrator.php:152
4 JComponentHelper::renderComponent() /.../libraries/cms/application/administrator.php:98
5 JComponentHelper::executeComponent() /.../libraries/cms/component/helper.php:380
6 require_once() /.../libraries/cms/component/helper.php:405
7 JControllerLegacy->execute() /.../administrator/components/com_installer/installer.php:19
8 InstallerControllerInstall->install() /.../libraries/legacy/controller/legacy.php:728
9 InstallerModelInstall->install() /.../administrator/components/com_installer/controllers/install.php:33
10 JInstaller->install() /.../administrator/components/com_installer/models/install.php:158
11 JInstallerAdapter->install() /.../libraries/cms/installer/installer.php:469
12 JInstallerAdapterComponent->parseOptionalTags() /.../libraries/cms/installer/adapter.php:703
13 JInstaller->parseMedia() /.../libraries/cms/installer/adapter/component.php:425
14 JInstaller->copyFiles() /.../libraries/cms/installer/installer.php:1542
15 JFolder::copy() /.../libraries/cms/installer/installer.php:1665
16 JFolder::copy() /.../libraries/joomla/filesystem/folder.php:125

I think this is actually a problem of my Joomla installation and not of PG... :(

Re: Error at upgrading to 4.3

Posted: 02 Jun 2016, 15:06
by christine
@ headrick,

"1 Copy file failed" hast mostly to do with wrong permissions. Check: index.php > 644 and may be also your tmp folder.
Before loading anything again, delete installation-files (if there are some inside) in tmp file. Just leave the: index.html.

Kind regards, Christine

Re: Error at upgrading to 4.3

Posted: 02 Jun 2016, 15:10
by headtrick
Just figured out exactly this :) Now it works, thanks...