Page 1 of 1

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 9:51 am
by jptechnical
I am getting the following error with the bulletmenu tag.

This is in a content page with nothing else in the default template (for the most part).

Any ideas?

Code: Select all

Fatal error: Smarty error: [in db:coral_reef_floorplans line 27]: syntax error: unrecognized tag: bulletmenu (Smarty_Compiler.class.php, line 417) in /home/diamond/public_html/lib/smarty/Smarty.class.php on line 1088
http://www.diamondbuilders.net/index.ph ... floorplans

Also... what is the syntax for the additional arguments in bulletmenu and others? Is is a space or some other character for the arguments.

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 10:42 am
by Ted
I would check config.php and make sure the paths are properly set. The usual syntax for a plugin is: {bulletmenu option1="blah" option2="blah"}. It sounds like you have the format right, since smarty is trying to use it, but it's not loading the plugins.

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 5:31 pm
by jptechnical
Here is my config.php file. Do you see any thing amiss? I do know that the root path and root url are fine.

Is there possibly a permissions problem? If so what permissions on what folders should I check?

Code: Select all

<?php

$config["dbms"] = "mysql";
$config["db_hostname"] = "localhost";
$config["db_username"] = "xxxxxxxx";
$config["db_password"] = "xxxxxxxx";
$config["db_name"] = "xxxxxxxx";
$config["db_prefix"] = "cms_";
$config["root_url"] = "http://www.diamondbuilders.net";
$config["root_path"] = "/home/diamond/public_html";
$config["query_var"] = "page";
$config["use_bb_code"] = false;
$config["use_smarty_php_tags"] = false;
$config["previews_path"] = "/home/diamond/public_html/tmp/cache";
$config["uploads_path"] = "/home/diamond/public_html/uploads";
$config["uploads_url"] = "http://www.diamondbuilders.net/uploads";
$config["max_upload_size"] = 1000000;
$config["debug"] = false;
$config["assume_mod_rewrite"] = false;
$config["auto_alias_content"] = true;
$config["image_manipulation_prog"] = "GD";
$config["image_transform_lib_path"] = "/usr/bin/ImageMagick/";
$config["use_Indite"] = false;
$config["image_uploads_path"] = "/home/diamond/public_html/uploads/images";
$config["image_uploads_url"] = "http://www.diamondbuilders.net/uploads/images";
$config["default_encoding"] = "";
$config["disable_htmlarea_translation"] = false;

?>

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 6:23 pm
by Ted
You config.php looks fine to me.

Does the plugins/bulletmenu.function.php file exist? Does it have read permissions for everyone (like 755?)

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 8:29 pm
by jptechnical
yes, it was at 644 but I changed it to 755.

Is it possible I need to refresh it in some way other than just viewing the page with the plugin tag?

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 8:38 pm
by Ted
You COULD try clearing the cache in the System Prefs, but I don't think that would do it...

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 9:45 pm
by jptechnical
Nope. didnt do anything.

Here are my specs

CMSMS 8.2
Operating system Linux
Service Status Click to View
Kernel version 2.4.22-1.2199.nptlsmp
Machine Type i686
Apache version 1.3.33 (Unix)
PERL version 5.8.1
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.3.10
MySQL version 4.0.22-standard
cPanel Build 9.9.8-CURRENT 17
Theme cPanel X v2.5.0
Documentation Click to View
cPanel Pro 1.0 (RC1)

Bulletmenu error on 8.2

Posted: Thu Jan 20, 2005 9:52 pm
by jptechnical
Got it!

here is what was in the html for the content item.

Code: Select all

Floorplans<br />
<br />
{bulletmenu<code>}<br />
</code>
I typed the tag in but somehow got this... I think perhaps I will disable the wysiwyg or try another. what was the thread for installing the other html editors? I will try that unless it requires modification of code that will be overwritted in future updates.

It works now though.