11
freepoker
How to add xoops menu to static html page?
  • 2007/2/6 8:27

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


Okay everyone. I knew how to do this a while ago but can't find the same support page anywhere now! I created my own html page and edited to system blocks menu so that the link was added to the main menu. What I am trying to do now is find the code I need to add to my page so it fits nicely into the XOOPS portal. Can someone point me in the direction to find where I can add the header/footer/side bars..etc to my static html page?

By the way, I am running XOOPS 2.0.16

Thanks in advance :)



12
freepoker
Re: wflinks 1.03c
  • 2006/12/7 20:39

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


thanks that fixed it. I had to go into phpMyadmin and add the two fields. once I did that it works fine..Thanks :)



13
freepoker
Re: wflinks 1.03c
  • 2006/12/7 12:09

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


thanks for the response. Well, I just tried adding a link through the homepage and it said it was added successfully but it wasn't added. I went into the admin panel and its not there for approval.

Here is the debug message:
Errors
Notice
Undefined indexdescriptionb in file /modules/wflinks/submit.php line 46
Notice
Undefined variableurlrating in file /modules/wflinks/submit.php line 65
Warning
Unknown column 'country' in 'field list' 1054 in file /modules/wflinks/submit.php line 69


Next, when I tried to add it through the admin panel, it just brought up a blank page. Here is the debug message:
Errors
Notice
Undefined indexdescriptionb in file /modules/wflinks/admin/index.php line 387
Warning
INSERT INTO xoops_wflinks_links (lidcidtitleurlscreenshotsubmitterpublisherstatusdatehitsratingvotescommentsforumidpublishedexpiredupdatedofflinedescriptionipaddressnotifypuburlratingcountrykeywords VALUES (''2'test1''http://www.domainienteredhere.net''''1''Admin','1''1165494911'0000'0''1165494911'0'0''0''''24.xxx.xxx.xx''0''6''AF''keyword1, keyword2'in file /modules/wflinks/admin/index.php line 455


any ideas? thanks in advance



14
freepoker
wflinks 1.03c
  • 2006/12/7 9:56

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


Hey. Well, I downloaded wflinks off the modules page on this site about 2 days ago..I installed it and have it working fine but everytime I click the "Visit site" link..it seams to bring up the same page..I'm not too sure as of why..I am using affiliate links in my directory so they look like this:
www.domainhere.com/lnk.asp?o=161&c=1269&a=11532

Could this be why??

Also, I get these errors when running the debug:

Debug Message:

Errors
Notice
Undefined indexkeywords in file /modules/wflinks/singlelink.php line 56
Notice
Undefined indexcountry in file /modules/wflinks/include/linkloadinfo.php line 79
Notice
Undefined indexcountry in file /modules/wflinks/include/linkloadinfo.php line 81
Warning
xoopsOption[template_mainshould be defined before including header.php in file /footer.php line 68


I'm running XOOPS 2.0.16..

Please let me know how I can fix this. I checked the links in the admin panel and they are all different..So they should be taking you to the correct affiliate link..However they always take you to the same page..you can see it in action by going
Here:
http://enterfreestuff.net/modules/wflinks/singlelink.php?cid=11&lid=79

and here:
http://enterfreestuff.net/modules/wflinks/singlelink.php?cid=7&lid=71

and clicking Visit Site on each one..you'll notice it takes you to the same page..any help is GREATLY appriciated!



15
freepoker
Re: Class XoopsCommentHandler does not exist
  • 2006/12/7 9:21

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


im sorry i posted phpfox 2.0.16..lol..i meant XOOPS 2.0.16..I do remember having some issues with the upload before..am I suppose to upload anything besides the htdocs folder? I noticed some other folders before..Thanks



16
freepoker
Re: Class XoopsCommentHandler does not exist
  • 2006/12/7 8:36

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


just an update..i also get this same error when trying to click the comment option under the system admin part of the admin panel..any ideas what could be causing this??



17
freepoker
Re: Class XoopsCommentHandler does not exist
  • 2006/12/7 1:03

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


Ok I tried to include everything stated above right here:

I turned inline debug on cause there was no php debug..anyways when i went to the page i got this

Debug message:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Class XoopsCommentHandler does not exist
Handler Name
comment
Backtrace
:
/include/
functions.php (495)
/include/
comment_view.php (83)
/
modules/wflinks/singlelink.php (95)
All errors (4queries (28blocks (6extra (0timers (5

Errors
Notice
Undefined indexkeywords in file /modules/wflinks/singlelink.php line 56
Notice
Undefined indexcountry in file /modules/wflinks/include/linkloadinfo.php line 79
Notice
Undefined indexcountry in file /modules/wflinks/include/linkloadinfo.php line 81
Error
: Class XoopsCommentHandler does not exist
Handler Name
comment in file /include/functions.php line 495

Queries
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '1'ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id 
'57578d8bee25c35c115f908f0c936927'
SELECT FROM xoops_users WHERE uid=1
SELECT 
FROM xoops_modules WHERE dirname 'wflinks'
SELECT FROM xoops_config WHERE (conf_modid '3'ORDER BY conf_order ASC
SELECT count
(*) FROM xoops_wflinks_links a LEFT JOIN xoops_wflinks_altcat b ON b.lid a.lid WHERE a.published AND a.published <= 1165454836 AND (a.expired OR a.expired 1165454836) AND a.offline AND (b.cid=a.cid OR (a.cid=11 OR b.cid=11))
SELECT FROM xoops_wflinks_links WHERE lid=86 AND (published AND published <= 1165454836) AND (expired OR expired 1165454836) AND offline AND cid 0
SELECT COUNT
(*) FROM xoops_banner
SELECT 
FROM xoops_banner LIMIT 51
UPDATE xoops_banner SET impmade 
impmade+1 WHERE bid 9
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '3'ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name 
'block_read' AND gperm_modid AND gperm_groupid IN (1,2)
SELECT b.* FROM xoops_newblocks bxoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=AND b.visible=AND m.module_id IN (0,3) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28ORDER BY b.weight,b.bid
SELECT COUNT
(*) FROM xoops_priv_msgs WHERE (read_msg '0' AND to_userid '1')
SELECT FROM xoops_modules WHERE (hasmain '1' AND isactive '1' AND weight '0'ORDER BY weight ASCmid ASC
SELECT 
FROM xoops_group_permission WHERE (gperm_name 'module_read' AND gperm_modid '1' AND (gperm_groupid '1' OR gperm_groupid '2'))
SELECT FROM xoops_modules WHERE dirname 'news'
SELECT COUNT(*) FROM xoops_online WHERE online_uid=1
UPDATE xoops_online SET online_updated
=1165454836online_module 3 WHERE online_uid 1
SELECT 
FROM xoops_online
SELECT COUNT
(*) FROM xoops_online WHERE online_module '3'
SELECT indeximageindexheading FROM xoops_wflinks_indexpage
SELECT pid
title FROM xoops_wflinks_cat WHERE cid=11
SELECT pid
title FROM xoops_wflinks_cat WHERE cid=11
SELECT 
FROM xoops_smiles
SELECT 
FROM xoops_modules WHERE dirname 'newbb'
SELECT FROM xoops_wf_resources WHERE lid=86 AND item_id 0 order by rtid LIMIT 010
SELECT lid
cidtitlepublished FROM xoops_wflinks_links WHERE submitter=AND published AND published <= 1165454836 AND (expired OR expired 1165454836) AND offline 0 ORDER by published DESC LIMIT 010
Total
28 queries

Blocks
User Menu
No Cache
Login
No Cache
Main Menu
No Cache
Custom Block 
(HTML): No Cache
Custom Block 
(HTML): No Cache
Who
's Online: No Cache
Total: 6 blocks

Timers
XOOPS took 0.470 seconds to load.
XOOPS Boot took 0.086 seconds to load.
Module init took 0.059 seconds to load.
XOOPS output init took 0.195 seconds to load.
Module display took 0.130 seconds to load.


Im using wflinks 1.03c
phpfox 2.0.16
mysql ver. 4
PhP4
corportate theme

any ideas? Thanks



18
freepoker
Class XoopsCommentHandler does not exist
  • 2006/12/6 14:44

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


Hey everyone. I recently made a post about this in the modules section but now feel it might fit in better here as I do not think this is a modules issue anymore.

I just downloaded and installed XOOPS yesterday onto a new site of mine..everything seamed to get installed correctly but when trying to delete a categorie in the wflinks mod I got this error:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Class XoopsCommentHandler does not exist
Handler Name: comment

Then I noticed I get the same error when clicking any link inside the top links on the main page - or click "more details" on any link in the wflinks directory.

I thought it must have been an issue with the module but just tried uninstalling a seperate module in the admin panel - and then got the same error again! (althlough it shows the module was successfully uninstalled) Now I am thinking maybe this is an error with xoops? maybe a file didnt upload or upload correctly?

Any help would be greatly appriciated!



19
freepoker
Re: internal server error
  • 2006/12/6 14:39

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


just an update..it showed up again when I was trying to uninstall a different module..im thinking this may not be a problem with the module but a problem with xoops?



20
freepoker
internal server error
  • 2006/12/6 10:01

  • freepoker

  • Just popping in

  • Posts: 42

  • Since: 2005/6/16


Hey guys..I installed wflinks and i notice anytime i try to modify a category via the admin panel. or click any outgoing link in the "top links" on my main page, i get this error:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Class XoopsCommentHandler does not exist
Handler Name: comment

I also get it with something in my news article i believe. I am running XOOPS 2.2...Any ideas? Thanks




TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

207 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 207


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