Support ⇒ Modules & Blocks ⇒ Jokes 2 Module ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexModules & Blocks

Jokes 2 Module Reply to topic

Go to page Previous 1, 2, 3, 4, 5, 6, 7 Next

Thank you...

I looked in my files but couldn't find it...

As long as it's no problem,,, it is fine.

I appreciate the answers.. 👏 👏 👏

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
df 9.2.1


YESSS...

I found it... Shocked

It is the LAST line in the ENGLISH file..

Line # 125....

Deleted this entire line, and the error went away... 👏 not worthy

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
df 9.2.1


I upgrade my Jokes ver 1.22 to 2.0.3, but it went wrong. I read all the post here and I realized my mistake. Now, i want to go to admin panel but i cant, because Jokes2 is active in blocks/module and have message like this;

includes/db/db.php
CMS Warning line 51: On /html/index.php While executing query "SELECT p.date, p.cid, a.parentid FROM cms_jokes_jokes as p LEFT JOIN cms_jokes_categories AS a ON (p.cid = a.cid) WHERE p.date >= '2006-05-18' GROUP BY p.date, a.cid ORDER BY p.date ASC" the following error occured: Unknown column 'p.date' in 'field list' In: /usr/local/psa/home/vhosts/bulan.com/httpdocs/html/modules/Jokes/index.php on line: 113


Can someone tell me how to access the admin panel so I can deactivate the "Jokes" and make the necessary installation procedures? Please I need your assistance.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.9/Apache1.3.29/MySQL4.1.20/PHP4.4.8/CMS Version9.2.1


Have you edited code before? In that case the simplest approach is probably to open the block-file and comment out all code (temporary measure). The block won't do any harm anymore and you will be able to access your adminpanel.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/Apache/5.0.24/5/9.1 CVS


Are you sure you downloaded version 2.0.3?

If yes, try to go to your blocks thought the admin panel and remove the old block. It is different for the new one. If this is not possible, go to the root folder of the cms and under the folder blocks, locate the old .php file of the previews module and delete it.

Remember to take a full backup of your site before doing anything.

If nothing of the above helps, if you took a database backup BEFORE installing the new module, simply restore that backup (you can also restore only the tables for the jokes module, just delete the tables that are for the new module, and load the old ones, google for more info 😉 ). Now you should be able to access the admin panel without the error. Go to the blocks panel and now remove the old block. Then proceed installing the new module.

Let us know what you have done!

P.S. alva's way should be more easier and simple!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.8-RELEASE/ 1.3.31/4.0.18/4.3.8/9.0.3.0


Add &hideallblocks to the url and it should not display any blocks. That should allow you to get to the admin panel.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Win, Linux/1.3.34/4.0.26, 5.0.19/4.3.10, 5.1.2, 8.1.4(PostgresSQL)/9.0.6.1, CVS


I add &hideallblocks to the url (thanks Biggles 😉 ) and manage to open the admin panel then I disable Jokes blocks/module .
Now, I uninstalled the Jokes modules (ver 1.22) and install the ver 2.0.3. Wow man, it installed successfully and looks fantastic. Thanks.
Now I upload the backup database and went succesfully too.

My problem is all my video files and audio jokes were not playing anymore. It shows the text links and no option/s for video or audio file insertion. Need help again, please.....

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.9/Apache1.3.29/MySQL4.1.20/PHP4.4.8/CMS Version9.2.1


open files:
modules/Jokes/joke.inc at line 61
blocks/blocks-Jokes.php at line 66
modules/Jokes/admin/index.inc at line 151

find and replace "decode_bb_all($joke['joketext'])"
with"decode_bb_all($joke['joketext'], 1)"


open files:
modules/Jokes/postjoke.inc at line 57
modules/Jokes/admin/index.inc at line 68

find and replace "decode_bb_all(html2bb(strip_javascript($_POST['joke'])))"
with "decode_bb_all(html2bb(strip_javascript($_POST['joke'])), 1)"


open file:
modules/Jokes/admin/index.inc at line 191

find and replace "decode_bb_all($jtext)"
with"decode_bb_all($jtext, 1)"

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.8-RELEASE/ 1.3.31/4.0.18/4.3.8/9.0.3.0


That's perfect! All my video files are working now. Thank you man you're great.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.9/Apache1.3.29/MySQL4.1.20/PHP4.4.8/CMS Version9.2.1


How can a person add pictures and/or files to each joke.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Unix/Apache 1.3.36/MySQL4.1.18-standard/PHP4.4.2/PERL 5.8.7/DflyCMS 9.1.2.1


With this module you can’t!

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.8-RELEASE/ 1.3.31/4.0.18/4.3.8/9.0.3.0


ok thank you PellaRaS, do you plan to make this in the next one

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Unix/Apache 1.3.36/MySQL4.1.18-standard/PHP4.4.2/PERL 5.8.7/DflyCMS 9.1.2.1


In the near future, no. Currently I do not have the time and the will to add new features in this module, only small fixes-improvements.

The next "big thing" that I will do, if ever, for this module it will be a more generic module for adding text, combined with pictures and files, using the very powerful template system that dragonfly cms provides, but of course no promises since there are other priorities in my calendar Razz

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
FreeBSD 4.8-RELEASE/ 1.3.31/4.0.18/4.3.8/9.0.3.0


PeLLaRaS, Thank you

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Unix/Apache 1.3.36/MySQL4.1.18-standard/PHP4.4.2/PERL 5.8.7/DflyCMS 9.1.2.1


I upgrade to DF 9.1.0.8 CVS and Jokes 2 module does not work.

This is the error I got.

Fatal error: Cannot redeclare class mb in /home/khmerdyn/public_html/modules/Jokes/functions.inc on line 11

I have to move the module out of the directory to get my site to show again.

Please help.

Always keep a big smile. You will live a long and happy life. Big grin

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
OS Linux/1.3.37 (Unix)/MySQL 4.1.21/PHP 4.4.4/DF 9.1.0.9 CVS

All times are UTC
Go to page Previous 1, 2, 3, 4, 5, 6, 7 Next


Jump to: