[Solved] Cannot edit files, layout broken fatal error

Phoca Download - download manager
Tybalt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 28 Sep 2011, 16:43

[Solved] Cannot edit files, layout broken fatal error

Post by Tybalt »

Hi!

Running J17 PD 2.1.1

When trying to edit any file the new page loading has broken layout presenting only plain text and links with no graphics. The header is missing. The page is at the end interupted with the following:

Fatal error: Call to undefined method JFormFieldPhocaTags::setError() in /public_html/administrator/components/com_phocadownload/helpers/phocadownloadtag.php on line 31

Not exactly sure when this happend but think it was when upgrading to 2.1.0.
Last edited by Tybalt on 05 Oct 2011, 09:40, edited 3 times in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot edit files, layout broken fatal error

Post by Jan »

Hi, try to install latest version, seems like some files are missing on your server (maybe some wrong file transfer, etc.) :idea:

Jan
If you find Phoca extensions useful, please support the project
Tybalt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 28 Sep 2011, 16:43

Re: Cannot edit files, layout broken fatal error

Post by Tybalt »

I managed to solve my problem by uploading files manually via FTP and then add missing tables in SQL via phpmyadmin.

I was missing these tables: (where #__ is a prefix, in general jos_)
#__phocadownload_tags
#__phocadownload_tags_ref
#__phocadownload_layout

Also did following SQl queries:

(2.0.0 STABLE UPDATE ONLY)
ALTER TABLE `#__phocadownload` ADD `userid` int(11) NOT NULL default '0' AFTER `description` ;

(2.1.0 BETA UPDATE ONLY)
ALTER TABLE `#__phocadownload` ADD `features` text AFTER `description` ;
ALTER TABLE `#__phocadownload` ADD `changelog` text AFTER `description` ;
ALTER TABLE `#__phocadownload` ADD `notes` text AFTER `description` ;

(2.1.1 UPDATE ONLY)
ALTER TABLE `#__phocadownload` ADD `video_filename` varchar(255) NOT NULL default '' AFTER `params` ;
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [Solved] Cannot edit files, layout broken fatal error

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
crisalbert
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 21 Oct 2011, 18:27

Re: Cannot edit files, layout broken fatal error

Post by crisalbert »

I could help, as I have the same problem were you

What I have to enter fields in the three tables that you created. For ftp you have done?. Do I have to add fields to other tables:. I have joomla 1.7 and 2.1.3 phocadownload

thank you very much


Me podrías ayudar, pues tengo el mismo problema que tenías tú

Que campos tengo que introducir en la tres tablas que has creado. Por ftp que has hecho?. ¿Hay que añadir campos a otras tablas?. Tengo joomla 1.7 y phocadownload 2.1.3

Muchas gracias
Tybalt wrote:I managed to solve my problem by uploading files manually via FTP and then add missing tables in SQL via phpmyadmin.

I was missing these tables: (where #__ is a prefix, in general jos_)
#__phocadownload_tags
#__phocadownload_tags_ref
#__phocadownload_layout

Also did following SQl queries:

(2.0.0 STABLE UPDATE ONLY)
ALTER TABLE `#__phocadownload` ADD `userid` int(11) NOT NULL default '0' AFTER `description` ;

(2.1.0 BETA UPDATE ONLY)
ALTER TABLE `#__phocadownload` ADD `features` text AFTER `description` ;
ALTER TABLE `#__phocadownload` ADD `changelog` text AFTER `description` ;
ALTER TABLE `#__phocadownload` ADD `notes` text AFTER `description` ;

(2.1.1 UPDATE ONLY)
ALTER TABLE `#__phocadownload` ADD `video_filename` varchar(255) NOT NULL default '' AFTER `params` ;
Post Reply