1
2headedpuppy
cloned template, cannot update it in the Preferences Main »» General Settings

Trying out 2.4 RC. This could be a bug.

Cloned a template (named it cloned_template_123123). Try to use it by selecting it in the Preferences Main »» General Settings. Click on Go. Get blank screen and the value is not updated.

Here is some debug info:
XOOPS Version XOOPS 2.4.0 RC
PHP Version 5.2.9
mySQL Version 5.0.77
Fedora 9
Apache 2.2.9

None All Errors (0) Queries (90) Blocks (0) Extra (3) Timers(3)
Errors
Queries
0.000355 - SET NAMES 'utf8'
0.002508 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000626 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'cnsmkveke5kf969ef3ks19ko54'
0.000648 - SELECT * FROM users WHERE uid = '1'
0.000636 - SELECT * FROM modules WHERE dirname = 'system'
0.000415 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.000684 - SELECT COUNT(*) FROM protector_access WHERE ip='1.2.3.4' AND request_uri='/modules/system/admin.php?fct=preferences'
0.000466 - SELECT COUNT(*) FROM protector_access WHERE ip='1.2.3.4'
0.000876 - INSERT INTO protector_access SET ip='1.2.3.4',request_uri='/modules/system/admin.php?fct=preferences',expire=UNIX_TIMESTAMP()+'60'
0.000860 - SELECT * FROM config WHERE conf_id=1
0.000488 - SELECT * FROM smiles
0.000438 - SELECT * FROM config WHERE conf_id=2
0.000405 - SELECT * FROM config WHERE conf_id=30
0.000529 - UPDATE config SET conf_modid = 0, conf_catid = 1, conf_name = 'adminmail', conf_title = '_MD_AM_ADMINML', conf_value = 'admin@emailblah.com', conf_desc = '_MD_AM_ADMINMLDSC', conf_formtype = 'textbox', conf_valuetype = 'text', conf_order = 3 WHERE conf_id = 30
0.000396 - SELECT * FROM config WHERE conf_id=3
0.000403 - SELECT * FROM config WHERE conf_id=4
0.000398 - SELECT * FROM config WHERE conf_id=5
0.000384 - SELECT * FROM config WHERE conf_id=6
0.000384 - SELECT * FROM config WHERE conf_id=94
0.000389 - SELECT * FROM config WHERE conf_id=7
0.000384 - SELECT * FROM config WHERE conf_id=57
0.000391 - SELECT * FROM config WHERE conf_id=72
0.000400 - UPDATE config SET conf_modid = 0, conf_catid = 1, conf_name = 'theme_set_allowed', conf_title = '_MD_AM_THEMEOK', conf_value = 'a:1:{i:0;s:11:\"aokdefault\";}', conf_desc = '_MD_AM_THEMEOKDSC', conf_formtype = 'theme_multi', conf_valuetype = 'array', conf_order = 13 WHERE conf_id = 72
0.000397 - SELECT * FROM config WHERE conf_id=63
0.003402 - SELECT * FROM tplfile WHERE (tpl_tplset = 'default' AND tpl_type = 'block') ORDER BY tpl_refid
0.001289 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '1' AND tpl_type = 'block') ORDER BY tpl_refid
0.000422 - SELECT * FROM tplfile WHERE tpl_id=230
0.001851 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_user.html') ORDER BY tpl_refid
0.001933 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '2' AND tpl_type = 'block') ORDER BY tpl_refid
0.000446 - SELECT * FROM tplfile WHERE tpl_id=231
0.001785 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_login.html') ORDER BY tpl_refid
0.001585 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '3' AND tpl_type = 'block') ORDER BY tpl_refid
0.000395 - SELECT * FROM tplfile WHERE tpl_id=236
0.001712 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_search.html') ORDER BY tpl_refid
0.001564 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '4' AND tpl_type = 'block') ORDER BY tpl_refid
0.000397 - SELECT * FROM tplfile WHERE tpl_id=252
0.001705 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_waiting.html') ORDER BY tpl_refid
0.001579 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '5' AND tpl_type = 'block') ORDER BY tpl_refid
0.000402 - SELECT * FROM tplfile WHERE tpl_id=253
0.001763 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
0.001668 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '6' AND tpl_type = 'block') ORDER BY tpl_refid
0.000423 - SELECT * FROM tplfile WHERE tpl_id=264
0.001747 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_siteinfo.html') ORDER BY tpl_refid
0.001664 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '7' AND tpl_type = 'block') ORDER BY tpl_refid
0.000407 - SELECT * FROM tplfile WHERE tpl_id=265
0.001698 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_online.html') ORDER BY tpl_refid
0.001610 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '8' AND tpl_type = 'block') ORDER BY tpl_refid
0.000403 - SELECT * FROM tplfile WHERE tpl_id=266
0.001705 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_topusers.html') ORDER BY tpl_refid
0.001810 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '9' AND tpl_type = 'block') ORDER BY tpl_refid
0.000396 - SELECT * FROM tplfile WHERE tpl_id=267
0.001767 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_newusers.html') ORDER BY tpl_refid
0.001707 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '10' AND tpl_type = 'block') ORDER BY tpl_refid
0.000412 - SELECT * FROM tplfile WHERE tpl_id=268
0.001702 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_comments.html') ORDER BY tpl_refid
0.001681 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '11' AND tpl_type = 'block') ORDER BY tpl_refid
0.000390 - SELECT * FROM tplfile WHERE tpl_id=269
0.001705 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_notification.html') ORDER BY tpl_refid
0.001767 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '12' AND tpl_type = 'block') ORDER BY tpl_refid
0.000415 - SELECT * FROM tplfile WHERE tpl_id=270
0.001706 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'system_block_themes.html') ORDER BY tpl_refid
0.001664 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '15' AND tpl_type = 'block') ORDER BY tpl_refid
0.000388 - SELECT * FROM tplfile WHERE tpl_id=271
0.001155 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_topics.html') ORDER BY tpl_refid
0.001665 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '16' AND tpl_type = 'block') ORDER BY tpl_refid
0.000401 - SELECT * FROM tplfile WHERE tpl_id=272
0.001098 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_bigstory.html') ORDER BY tpl_refid
0.001707 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '17' AND tpl_type = 'block') ORDER BY tpl_refid
0.000390 - SELECT * FROM tplfile WHERE tpl_id=273
0.002550 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_top.html') ORDER BY tpl_refid
0.002133 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '18' AND tpl_type = 'block') ORDER BY tpl_refid
0.000417 - SELECT * FROM tplfile WHERE tpl_id=274
0.002043 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '19' AND tpl_type = 'block') ORDER BY tpl_refid
0.000407 - SELECT * FROM tplfile WHERE tpl_id=275
0.001202 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_moderate.html') ORDER BY tpl_refid
0.001767 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '20' AND tpl_type = 'block') ORDER BY tpl_refid
0.000419 - SELECT * FROM tplfile WHERE tpl_id=276
0.001130 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_topicnav.html') ORDER BY tpl_refid
0.001903 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '21' AND tpl_type = 'block') ORDER BY tpl_refid
0.000401 - SELECT * FROM tplfile WHERE tpl_id=277
0.001139 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_randomnews.html') ORDER BY tpl_refid
0.001791 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '22' AND tpl_type = 'block') ORDER BY tpl_refid
0.000397 - SELECT * FROM tplfile WHERE tpl_id=278
0.001132 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_block_archives.html') ORDER BY tpl_refid
0.001773 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '23' AND tpl_type = 'block') ORDER BY tpl_refid
0.000406 - SELECT * FROM tplfile WHERE tpl_id=279
0.001085 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_tag_block_cloud.html') ORDER BY tpl_refid
0.001883 - SELECT * FROM tplfile WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_refid = '24' AND tpl_type = 'block') ORDER BY tpl_refid
0.000388 - SELECT * FROM tplfile WHERE tpl_id=280
0.001085 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'cloned_template_123123' AND tpl_file = 'news_tag_block_top.html') ORDER BY tpl_refid
Total: 90
Blocks
Total: 0
Extra
Token Validation: Valid token found
Included files: 70 files
Memory usage: 4453120 bytes
Timers
XOOPS took 1.148 seconds to load.
XOOPS Boot took 0.131 seconds to load.
Module init took 1.017 seconds to load.



2
2headedpuppy
Re: Xoops 2.3 Wishlist

Not sure if this has been considered for this release. I did see requests for it earlier:

- global categories

my 2 cents



3
2headedpuppy
Re: Is there a way to make blocks searchable?

I was hoping for a solution independent of outside tools.



4
2headedpuppy
Re: How to create Select All checkbox w XoopsForm Classes, multiple checkbox elements w multiple opt

Figured it out. xoopsCheckGroup will do the trick.

xoopsCheckGroup (form,switchId,groupName)


For the above example, to select all fruit colors you could add a checkbox like below:
<input  name="checkallcolor" id="checkallcolor" onclick="xoopsCheckGroup('fruitform', 'checkallcolor', 'checkbox_color[]');" type="checkbox" value="Check All" />



5
2headedpuppy
How to create Select All checkbox w XoopsForm Classes, multiple checkbox elements w multiple options

I am not sure how to do this using XoopsForm classes.

- I have a form (see pic) with two checkbox elements: Fruit Selection and Ripeness.
- Each checkbox element has multiple options (red/blue/medium ..etc.)
- I was able to create a checkbox to select all only for the entire form using xoopsCheckAll but with the checkbox placed outside of the form (prefer having it inline). I tried using xoopsCheckAllElements and xoopsCheckGroup but could not get it to work.

Does anyone have a simple solution how to turn the "Select All" checkboxes below into functioning "Select All" checkboxes using XoopsForm classes. I would like to be able to select all just for "Fruit Color" or just for "Ripeness".

Thanks !!!!!!!!!!!!!!!!!

Resized Image


sample code :

$form = new XoopsThemeForm('Fruit Selection''fruitform''fruit.php''post'true);

$checkbox_color = new XoopsFormCheckBox('Fruit Color''checkbox_color'none);
$checkbox_color->addOption('all','Select All');
$checkbox_color->addOption('red'"Red");
$checkbox_color->addOption('green'"Green");
$checkbox_color->addOption('yellow'"Yellow");
$form->addElement($checkbox_color);

$checkbox_ripeness = new XoopsFormCheckBox('Ripeness''checkbox_ripeness'none);
$checkbox_ripeness->addOption('all'"Select All");
$checkbox_ripeness->addOption('notatall'"Not at all Ripe");
$checkbox_ripeness->addOption('slightly'"Slightly Ripe");
$checkbox_ripeness->addOption('medium'"Medium Ripe");
$checkbox_ripeness->addOption('well'"Well Ripe");
$form->addElement($checkbox_ripeness);

$button = new XoopsFormElementTray('' ,'submitb');
$button->addElement(new XoopsFormButton('''post_fruit_id'"Click Here : Submit Fruit Preference"'submit'));
$form->addElement($button);

$form->display();



6
2headedpuppy
Re: Is there a way to make blocks searchable?

just to refresh this question ...

I created several blocks with my own content, just text. These blocks do not appear in the search results. Is there a way to make them searchable. Thanks!



7
2headedpuppy
Is there a way to make blocks searchable?

I have some custom blocks with unique content that I created. Just wondering if there was a way to make this content searchable. They are not showing up in the search results for unique strings that appear only in these areas.

Thanks !!!



8
2headedpuppy
Quick fix if your xoopsodp module is not displaying DMOZ results

xoopsodp module has worked really well in the past. It is based on DWodp live (http://www.dominion-web.com/products/dwodp_live/)

Recently it stopped working for me. All results were blank. I read the
DWodp live page and they have a new version:

Quote:
DWodp live change log
Version 1.2.5 - August 2007
* Bug fix - DMOZ changed url structure and so updated in config.inc.php
* Bug fix - Search only this category fixed


To make xoopsodp work again it is a really really simple fix:

in the module directory (for example /modules/xoopsodp), open file:

/includes/config.inc.php

change configuration value of $rooturl from:

$rooturl "http://dmoz.org";


to:

$rooturl "http://www.dmoz.org";


save config.inc.php .. voilaa

The fix is adding "www" to the URL. It should work now again.

Since I think that the other DMOZ module (SnX DWodp XOOPS DMOZ Integrator) is also "DWodp live" based perhaps a similar change can make it work again.



9
2headedpuppy
Re: Problem with SnX DWodp Xoops DMOZ Integrator

I have noticed this issue as well on all of my sites. It worked well before and suddenly since a few weeks ago it stopped working. Results under DMOZ categories do not show up any more.

I checked the two main XOOPS DMOZ modules "SnX DWodp" and
"xoopsodp" and on both of their developer sites it does not work either. Their DMOZ results are empty.

It could be that DMOZ changed something or there is something blocking it elsewhere (XOOPS or server setup).

I looked at the modules from other Open Source CMS systems and their modules function correctly.

No errors are produced in debug mode and I could not see anything related in Apache error or access logs.



10
2headedpuppy
Re: Xoops Site Slow as Heck!

It seems to be looking up xoopsfactory.net (somewhere in the code) and getting stuck there for 5-6 seconds at least. Remove that and it should be quicker (maybe). Apart from that it's normal from my end.




TopTop
(1) 2 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

67 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 67


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits