4 users online. Create an account or sign in to join them.Users
Entry URL Field
This is an open discussion with 32 replies, filed under Extensions.
Search
that's the odd part. the link is generated just fine, but if i click on the entry url, i get
Fatal error: Class 'Administration' not found in (..)/extensions/entryurlfield/fields/field.entry_url.php on line 124
edit: figured it out, doesn't play nicely with section schemas.
Hi All,
Is this extension know to be incompatible with 2.2.3? I'm having trouble making it work.
Antoine
I'm having trouble making it work.
I haven't tested it myself. What trouble?
When I try to add the field to a section I get this:
The used table type doesn't support FULLTEXT indexes An error occurred while attempting to execute the following query CREATE TABLE IF NOT EXISTS `sym_entries_data_43` ( `id` INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, `entry_id` INT(11) UNSIGNED NOT NULL, `value` TEXT DEFAULT NULL, PRIMARY KEY (`id`), KEY `entry_id` (`entry_id`), FULLTEXT KEY `value` (`value`) )
I'm guessing it's more to do that the table creation SQL doesn't specify MyISAM table types. Are you running MySQL 5.5? This defaults to InnoDB tables, which doesn't support FULLTEXT (just yet anyway)
I'm running MySQL 5.5.9 but all tables are MyISAM. I think I will test the field on a fresh install of 2.2.3 just to see how it goes.
You were right Brando, I didn't realised the table was not created yet. I have just added ENGINE = MYISAM; to the SQL queries and it now work perfectly fine! Thanks.
I'm getting this error:
Fatal error: Class 'Administration' not found in /usr/home/myoruga.com/web/extensions/entryurlfield/extension.driver.php on line 91
When I try to save an entry from the frontend with symphony 2.2.3
Try changing that line to:
$fm = new FieldManager(Symphony::Engine());
@nickdunn: Yes, now works perfect. Thank you Nick.
Correct me if I'm wrong, but I need to use absolute urls, right? So if I move my symphony installation to the production environment, I will have to rename the urls, because I currently have the install in /project and it will end up in /. The "publish shortcuts" plugin support {$root} in the url field. How would I add that to this extension? I don't exactly understand the copmile() function...
Ah, it's here I guess: https://github.com/nickdunn/entryurlfield/pull/1
Create an account or sign in to comment.
The Frontend class doesn't have the equivalent method, so in this scenario,
Administration::instance()is the correct usage.