Error Update 2.5.0 to 2.5.2 or 2.5.4

Phoca Gallery - image gallery extension
interfuzzi
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jul 2009, 11:33

Error Update 2.5.0 to 2.5.2 or 2.5.4

Post by interfuzzi »

Hi !

I am getting an error during install new PG version 2.52 oder 2.5.4

after this. my frontend shows

Code: Select all

Warning: require_once(/homepages/20/xxxxxxxxx/htdocs/administrator/components/com_phocagallery/libraries/loader.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/20/xxxxxxxx/htdocs/plugins/content/phocagallery.php on line 19

Fatal error: require_once() [function.require]: Failed opening required '/homepages/20/xxxxxxxxxxxxxx/htdocs/administrator/components/com_phocagallery/libraries/loader.php' (include_path='.:/usr/lib/php5') in /homepages/20/xxxxxxxxxxx/htdocs/plugins/content/phocagallery.php on line 19

The admins site show following error

Code: Select all

JDatabaseMySQL::query: 2006 - MySQL server has gone away SQL=SELECT id, params, enabled FROM jos_components WHERE `option` = 'com_phocagallery' ORDER BY `parent` ASC

Call stack
# 	Function 	Location
1 	JAdministrator->dispatch() 	/homepages/20/xxxxxx/htdocs/administrator/index.php:67
2 	JComponentHelper->renderComponent() 	/homepages/20/xxxxxx/htdocs/administrator/includes/application.php:136
3 	require_once() 	/homepages/20/xxxxxxxx/htdocs/libraries/joomla/application/component/helper.php:162
4 	JController->execute() 	/homepages/20/xxxxxxxxxxxxx/htdocs/administrator/components/com_installer/admin.installer.php:44
5 	InstallerController->doInstall() 	/homepages/20/xxxxxxxxx/htdocs/libraries/joomla/application/component/controller.php:236
6 	InstallerModelInstall->install() 	/homepages/20/xxxxxxxx/htdocs/administrator/components/com_installer/controller.php:71
7 	JInstaller->install() 	/homepages/20/xxxxxxx/htdocs/administrator/components/com_installer/models/install.php:86
8 	JInstallerComponent->install() 	/homepages/20/xxxxxxxx/htdocs/libraries/joomla/installer/installer.php:332
9 	JInstallerComponent->_buildAdminMenus() 	/homepages/20/xxxxxxxxxxx/htdocs/libraries/joomla/installer/adapters/component.php:274
10 	JDatabaseMySQL->loadAssoc() 	/homepages/20/xxxxxxxxxxx/htdocs/libraries/joomla/installer/adapters/component.php:508
11 	JDatabaseMySQL->query() 	/homepages/20/xxxxxxxxx/htdocs/libraries/joomla/database/database/mysql.php:392
12 	JError->raiseError() 	/homepages/20/xxxxxxxxxx/htdocs/libraries/joomla/database/database/mysql.php:231
13 	JError->raise() 	/homepages/20/xxxxxxxxx/htdocs/libraries/joomla/error/error.php:171
14 	JException->__construct() 	/homepages/20/xxxxxxxxxxxxx/htdocs/libraries/joomla/error/error.php:136





I can revert to my Gallery by installing PG 2.5.0 3 times again.


so whre is my error ?


Thanks !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error Update 2.5.0 to 2.5.2 or 2.5.4

Post by Jan »

Hi, the first error is caused by the obsolete version of plugin. Plugin with version 2.5.x should be installed.

The second problem is caused by some Joomla! process. Now I don't what can cause this problem. I will take a look at it.

Jan
If you find Phoca extensions useful, please support the project
interfuzzi
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jul 2009, 11:33

Re: Error Update 2.5.0 to 2.5.2 or 2.5.4

Post by interfuzzi »

Hi !

I update all plugins and installed newest PG 2.5.5

at install

Code: Select all

DB function failed with error number 2006
          MySQL server has gone away SQL=INSERT INTO jos_components VALUES( 0, 'Phoca Gallery', 'option=com_phocagallery', 0, 0, 'option=com_phocagallery', 'Phoca Gallery', 'com_phocagallery', 0, 'components/com_phocagallery/assets/images/icon-16-pg-menu.png', 0, '', 1 )
          SQL =

          INSERT INTO jos_components VALUES( 0, 'Phoca Gallery', 'option=com_phocagallery', 0, 0, 'option=com_phocagallery', 'Phoca Gallery', 'com_phocagallery', 0, 'components/com_phocagallery/assets/images/icon-16-pg-menu.png', 0, '', 1 )

        * JFTP::delete: Bad response
        * JFTP::delete: Bad response
        * Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering
The same error ?
hmm Joomla 1.5.14 is the newest core isn't it ?


Greetings

interfuzzi
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error Update 2.5.0 to 2.5.2 or 2.5.4

Post by Jan »

Hi, try to 2.5.6 Beta. I added Joomla! methods to escape items in SQL queries.

Jan
If you find Phoca extensions useful, please support the project
interfuzzi
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jul 2009, 11:33

Re: Error Update 2.5.0 to 2.5.2 or 2.5.4

Post by interfuzzi »

Hi!

Thank you Jan !

But there is still the same error.
Component Install: DB function failed with error number 2006

Code: Select all

JFTP::store: Bad response 
JInstaller::install: Failed to copy file: /homepages/20/d22855932/htdocs/tmp/install_4a846315b6b93/tables/phocagalleryimgvotes.php to /homepages/20/d22855932/htdocs/administrator/components/com_phocagallery/tables/phocagalleryimgvotes.php 
Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM j15_modules AS m LEFT JOIN j15_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering 

After this the componnet ist gone away "404 Component not found"

Any ideas ?

Greetings from Stuttgart


interfuzzi
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error Update 2.5.0 to 2.5.2 or 2.5.4

Post by Jan »

Seems like some problem with permissions as installation script cannot write data on the server :( :idea:
If you find Phoca extensions useful, please support the project
Post Reply