| Author |
Message |
Guardian
Newbie


Joined: Jun 25, 2005
Posts: 18
|
Posted:
Aug Thu 11, 2005 5:44 am |
  |
Recently instaled on nuke 7.5 with chatservs v3.0 patches - I'm just getting a blank page when accessing the module - any idea's??
Module is activated.
I even commented out the file check at the beginning of index.php but not luck at all. |
|
|
  |
 |
Guardian
Newbie


Joined: Jun 25, 2005
Posts: 18
|
Posted:
Aug Thu 11, 2005 8:38 am |
  |
http://www.guildofsecurity.co.uk/modules.php?name=MetOpen_Super_Topic
So far, I think the error is with
| Code: |
| get_lang($module_name) |
as commenting this out means the page loads but with no language defines being imported from the language file.
I have added some echo statements to the file in order to assist with diagnosis.
Has anyone else having a problem with this module or could it be something specific to my installation? |
|
|
  |
 |
coopvet2000
Newbie


Joined: Aug 05, 2005
Posts: 7
|
Posted:
Aug Thu 11, 2005 2:18 pm |
  |
I think the problem was with the Language file! here where I fixed
I noticed that <? in my php editor was not red so I thought there something missing or not there! learning bit by bit! colon on the second one "
define("_MCSPONSOR","<center>Place any text or ad here. Or erase _MCSPONSOR to keep it blank.</center><br />');
define("_MCSPONSOR","<center>Place any text or ad here. Or erase _MCSPONSOR to keep it blank.</center><br />'");
Still trying to figure out how to set it up like the site described somewhere can't remember where? not a php god yet!
If you can figure how to add it please drop me a note or two!
Thanks |
|
|
  |
 |
Guardian
Newbie


Joined: Jun 25, 2005
Posts: 18
|
Posted:
Aug Fri 12, 2005 9:35 am |
  |
Good catch!!
I missed that one completely!!!!!!!!!
Off to try and get it all set up now - I don't see any link to it on this site but I'm no doubt in for a fun time.
Configuration is done from the language file
| Code: |
define("_MCARTICLETOPICNUM","2");//topic number
define("_MCFORUMSTOPICID","4");//forum id
define("_MCLINKCATID","2");//link category |
where topic number, I assume means news topic category
forim id means forum category
link category - I am assuming that refers to the Weblinks module category. |
|
|
  |
 |
metopen
Newbie


Joined: Jul 15, 2004
Posts: 199
|
Posted:
Dec Fri 02, 2005 3:05 am |
  |
|
   |
 |
mdwilson
Newbie


Joined: Jun 25, 2005
Posts: 14
|
Posted:
Dec Sat 17, 2005 12:30 pm |
  |
Hi, I just installed the latest version to my site - v7.5 and I'm getting the following error msg: Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/bportal/public_html/includes/sql_layer.php on line 286
Other links seem to be fine.
Any suggestions? |
|
|
  |
 |
mdwilson
Newbie


Joined: Jun 25, 2005
Posts: 14
|
Posted:
Dec Sat 17, 2005 1:49 pm |
  |
Hi, can you give some script examples on how to add images w/links and/or google ads to the MCSPONSOR tags?
Thanks. |
|
|
  |
 |
metopen
Newbie


Joined: Jul 15, 2004
Posts: 199
|
Posted:
Dec Sat 17, 2005 9:27 pm |
  |
do you get that error message instead of the whole module or is that just one error message you get somewhere- if so where...
all language definitions need to be excaped. so if you want to print a " you need to write \". MCSPONSOR would be:
"<a href=\"test.html\">this is a link </a>"
or for an image
"<img src=\"test.img\" alt=\"test image\" >" |
|
|
   |
 |
mdwilson
Newbie


Joined: Jun 25, 2005
Posts: 14
|
Posted:
Dec Sun 18, 2005 2:56 am |
  |
The error is in the articles section only.
All others seem to be working fine. |
|
|
  |
 |
metopen
Newbie


Joined: Jul 15, 2004
Posts: 199
|
Posted:
Dec Sun 18, 2005 9:40 am |
  |
would you be able to post (or message me) a link. |
|
|
   |
 |
mdwilson
Newbie


Joined: Jun 25, 2005
Posts: 14
|
Posted:
Dec Sun 18, 2005 9:20 pm |
  |
|
  |
 |
metopen
Newbie


Joined: Jul 15, 2004
Posts: 199
|
Posted:
Dec Sun 18, 2005 10:06 pm |
  |
Dont know what it could be. what's your value for: _CATIDTIP |
|
|
   |
 |
mdwilson
Newbie


Joined: Jun 25, 2005
Posts: 14
|
Posted:
Dec Mon 19, 2005 5:53 am |
  |
Which file would I find it under?
I checked the metopen file and the lang-english?
Regards. |
|
|
  |
 |
metopen
Newbie


Joined: Jul 15, 2004
Posts: 199
|
Posted:
Dec Mon 19, 2005 10:02 am |
  |
Sorry I looked in the wrong file.
what are your values for: _MCARTICLETOPICNUM and _MCARTICLESTORYNUM ?
(you'll find them in the language file)
Another possibility is that you dont use nuke_ as your prefix? (This is fixed in the upcoming version). |
|
|
   |
 |
mdwilson
Newbie


Joined: Jun 25, 2005
Posts: 14
|
Posted:
Dec Mon 19, 2005 11:52 pm |
  |
Hi.
I checked the file and did not see the _MCARTICLESTORYNUM
Also, the prefix is different from nuke. |
|
|
  |
 |
|
|