General ⇒ FAQ (Frequently Answered Questions) :: Archives ⇒ Trouble with smilies.php Error... :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexFAQ (Frequently Answered Questions)

Archived ⇒ Trouble with smilies.php Error...


Hey Ho...

I got an error when i tried to go to the SMILIES
in order to see what is there and if I want to add
others, but it didn't open. Instead I got this
message:

Fatal error: Call to undefined function: get_smilies() in /home/fushicho/public_html/admin/modules/smilies.php on line 327

Can anyone help me, please?

I am running Dragonfly 9.1.2.1 though...

Mahyla

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/4.1.22-standard/4.4.7/Version 9.1.2.1


This was an old issue, fixed after 9.1.2.1.

A quick fix, without modifying core files, is to enable the left side blocks and put a block in it, even if for admins only.

Otherwise use this admin/modules/smilies.php

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


Yaay...awesome. I used the file you linked
me towards to... It works perfectly now.
Thank you a lot Smile *hugs*

(It's so easy to make me happy :D)

Mahyla

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/4.1.22-standard/4.4.7/Version 9.1.2.1


Floor laughing

good to know that was an easy fix

I'm happy too now Big grin

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


thank you very much. That fixed it for me too Big grin

.:: Ring of Destiny Clan ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
xp/apache/MySQL5.0.27/php5.2.4/CMS9.1.2.1


quick question.

Why isn't
a] the DF9.1.2.1 download updated
- or -
b] a "patch" file created

There are 2 files (that I know off-hand) that must be updated from a clean install (smilies.php & cssmainmenu.php) otherwise, you'll have these fatal errors.
I know it's a quick fix to search and find these files, but many ppl assume that since these bugs were found, the install is "fixed".
I also know that CVS includes these fixes, but most ppl want to run the "standard" release and not a beta...

I just think there should be some obvious way for new admins to know about this (or not have to worry about it) without having to find it during the course of setting up their site and thinking they did something wrong.

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


NanoCaiordo wrote
This was an old issue, fixed after 9.1.2.1.

A quick fix, without modifying core files, is to enable the left side blocks and put a block in it, even if for admins only.

Otherwise use this admin/modules/smilies.php


I have used the link that NanoCaiordo had pointed to me and it pretty much fixed it for me... Do you think that I should use a different methode?

Mahyla

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/4.1.22-standard/4.4.7/Version 9.1.2.1


Yes, you should use the file Nano pointed to.
My point was that it should be easier for new admins to find these files

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


rlgura wrote
There are 2 files (that I know off-hand) that must be updated from a clean install (smilies.php & cssmainmenu.php) otherwise, you'll have these fatal errors.


I got the smilies.php fixed. Can someone post a good cssmainmenu.php link so I can fix that also?

.:: Ring of Destiny Clan ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
xp/apache/MySQL5.0.27/php5.2.4/CMS9.1.2.1


See - wouldn't have even known you needed an updated one of those...until you attempted to create a album in coppermine.... Smile

dragonflycms.org/cvs/h....php?g=1.2

discussion of this issue is here: dragonflycms.org/Forum...19139.html

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


Now... Do I need the cssmainmenu file too?
I am not sure about that though... It IS
related to the smilies issue so i downloaded
it just in case though...

Mahyla

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/4.1.22-standard/4.4.7/Version 9.1.2.1


Yes - I would replace it.
No, it's not related to the smilies issue - it's related to errors creating albums in coppermine with the new CSS menu turned on (see discussion link above).

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


tyvm for the link Smile .I'm such a noob that it took like 45 minutes to find where it goes hehe. I finally found it tho.

.:: Ring of Destiny Clan ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
xp/apache/MySQL5.0.27/php5.2.4/CMS9.1.2.1

All times are UTC