Page 1 of 1

[Solved] Cannot edit files, layout broken fatal error

Posted: 28 Sep 2011, 21:31
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.

Re: Cannot edit files, layout broken fatal error

Posted: 30 Sep 2011, 16:47
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

Re: Cannot edit files, layout broken fatal error

Posted: 03 Oct 2011, 16:14
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` ;

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

Posted: 07 Oct 2011, 14:57
by Jan
Ok

Re: Cannot edit files, layout broken fatal error

Posted: 31 Oct 2011, 16:02
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` ;