PDA

View Full Version : "The page cannot be displayed"


Leah
05-30-2003, 08:13 AM
Yesterday, I installed a few new hacks on my forum.

Advanced Templates: Dynamic Templates Changing according to different conditions (https://vborg.vbsupport.ru/showthread.php?s=&threadid=43325)

Birthday Cake in postbits for all b-days for the week (https://vborg.vbsupport.ru/showthread.php?s=&threadid=52897)

Quick PM Reply Box (https://vborg.vbsupport.ru/showthread.php?s=&threadid=38178)

Canned Text (https://vborg.vbsupport.ru/showthread.php?s=&threadid=50513)


Now, everyone gets a "The page cannot be displayed" when they click on a link. When they klick the "back"-button and start again, the page shows up ok. But it's annoying.

Does anyone have any ideas about where I could start looking to find (and hopefully fix) the problem?

Erwin
05-30-2003, 12:34 PM
Chances are it's something to do with the Dynamic Templates (or possibly the Canned Text hack), since the other hacks only affect certain files and templates. Start with the Dynamic Templates hack and make sure you installed it correctly, and you haven't got any weird conditionals in a global template somewhere...

Leah
05-30-2003, 06:22 PM
Ok.
Thank you. :)

Leah
05-31-2003, 12:51 PM
Does anyone know how I can undo these queries?

(I'm trying to uninstall the canned text hack so that I can reinstall from scratch if the problem lies somewhere here.)


Creating Settings...
Getting current highest + 1 displayorder for settings...

query_first: SELECT MAX(settinggroupid) + 1 AS newdisplayorder FROM setting
Creating settings group...

query: INSERT INTO settinggroup (title, displayorder) VALUES ("Canned Text", 44)
Getting newly created settinggroupid...
Writing script to create individual settings...
Caching highest settingid + 1...

query_first: SELECT MAX(settingid) + 1 AS sidplusone FROM setting
Creating setting "Maximum allowed canned text items"...
query: INSERT INTO setting (settinggroupid, title, varname, value, description, optioncode, displayorder)
VALUES (45,
"Maximum allowed canned text items",
"ctmax",
"5",
"The maximum allowed number of unique canned text responses users can save. Set to 0 to disable the use of canned text.",
"",
0)