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
Error at upgrading to 4.3
-
Ribberholt
- Phoca Newbie

- Posts: 6
- Joined: 09 May 2016, 10:56
- Location: Denmark
Re: Error at upgrading to 4.3
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
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
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error at upgrading to 4.3
Hi,
Ribberholt do you use Joomla! 3.5?
headtrick - when you enable debug mode when installing, do you get any specific error?
Jan
Ribberholt do you use Joomla! 3.5?
headtrick - when you enable debug mode when installing, do you get any specific error?
Jan
If you find Phoca extensions useful, please support the project
- headtrick
- Phoca Member

- Posts: 23
- Joined: 24 Apr 2016, 23:40
Re: Error at upgrading to 4.3
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...
-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...
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: Error at upgrading to 4.3
@ 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
"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
- headtrick
- Phoca Member

- Posts: 23
- Joined: 24 Apr 2016, 23:40
Re: Error at upgrading to 4.3
Just figured out exactly this
Now it works, thanks...