Failure at install

Phoca Maps - displaying maps in Joomla! CMS
Akaiah
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 28 May 2011, 09:48

Failure at install

Post by Akaiah »

Hello,

hope you can help me. I bought a template and with this Phoca Maps come in the package. But everytime i try to install it, i get this message:

Code: Select all

        Component Install: DB function reports no errors
        Failed deleting uninstall.phocamaps.php
        Failed deleting phocamaps.xml
        Failed deleting install.phocamaps.php
I've tried to download a new release but getting the same result. Also tried to install it from directory and give 777 to everything but nothing works.

Hope for a quick response.
Greets
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Failure at install

Post by Jan »

Hi, try to install the latest Phoca Maps downloaded on this site.

Jan
If you find Phoca extensions useful, please support the project
soad667
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Aug 2011, 01:03

Re: Failure at install

Post by soad667 »

Hi everyone,

i'm having the same problem.
When i go to extension manager->manage and search for phocamaps if found four results, three 2.0.0 version and one 2.0.1. But they are not installed!!!!
When i try to do a fresh install it says that can not delete de very same component :evil:

Any idea?

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

Re: Failure at install

Post by Jan »

Hmmm, I think, this is more a question on Joomla! developers - on developers of the extension manager :-( :-( I by myself I have no experiences with such kind of error :-( :idea:
If you find Phoca extensions useful, please support the project
soad667
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Aug 2011, 01:03

Re: Failure at install

Post by soad667 »

Its working!

Thanks to coffee suggestion to other component i managed to workaround the problem.

Here what i've done:
1/ Delete all record relate Phoca Maps in these tables of DB
* __assets
* __extensions
*__menu
2/ reinstall component.
Tks.
tccmike
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 11 Apr 2012, 21:29

Re: Failure at install

Post by tccmike »

That worked... note to author: you should add the sql statements to remove those entries in the uninstall.sql file that you already have in the zip file. if they don't exist and Joomla did its job great if not then well there is at least a fall back... Plus that was the first place I looked for answers once I saw this error - to my surprise though it was just an empty file...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Failure at install

Post by Jan »

Hi, Phoca Maps includes such information:

Code: Select all

DROP TABLE IF EXISTS `#__phocamaps_map`;
DROP TABLE IF EXISTS `#__phocamaps_marker`;
DROP TABLE IF EXISTS `#__phocamaps_icon`;
Removing assets, extensions, menu cannot be solved in component, all entries to these tables are done by user or Joomla! which installs the component - so this is solved by Joomla! itself - Joomla! removes entries which it adds, and entries added by users should be removed by users (this cannot be done by the component automatically, because it can damage user's settings)

Jan
If you find Phoca extensions useful, please support the project
Post Reply