131
javier
Re: Spotlight.v2.0 RC2 Released Again
  • 2004/4/7 12:12

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


This new version works fine for me now
the error about "no news items" is not here now

grettings



132
javier
Re: "In Use" tables, news,etc dessapear,etc many people had this problems.
  • 2004/4/4 23:44

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Thanks for reply,
many people had similar errors, i found some ones searching in this forum with "in use" words.
---

i get these errors runing in local mode in my own computer, i use phpdev5 beta3, that´s the more strange,

i will upload all the site content to the internet server and check what happen there.

grettings.




133
javier
"In Use" tables, news,etc dessapear,etc many people had this problems.
  • 2004/4/4 12:07

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


I noticed alot of people has problems with the news module, the headlines modules and the forum module,

after certain time the news storys, or the headlines, or the newbb post simply dissapear,
when you go with phpmyadmin you found the tables "in use"
what´s happening with XOOPS about these problems,
why these things happen?

--------------------------
in my particular experience, i get these problem with the news module,
my news dessapear after some time, (and i not talking about days or weeks)
and i have to overwrite the storys tables with my backup ones.
other thing i noticed is i can´t edit the news storys,
i tried from XOOPS admin panel, and no results,
i tried from phpadmin too and no results too.

i just finished a new XOOPS site, and i can´t put online dued to these issues

grettings



134
javier
Re: Spotlight.v2.0 RC2 Released Again
  • 2004/4/2 22:31

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


As Xantius, i fixed the first issue with meme´s code,
i have the no news story problem too using XOOPS 2.0.6 (i not have wfsection installed)

grettings


this is a MySQL debug:

SELECT item, auto, image, auto_image, imagealign FROM xoops_spotlight WHERE sid = 1 LIMIT 0, 1
Error number: 1054
Error message: Unknown column 'imagealign' in 'field list'

SELECT storyid, uid, title, hometext, topicdisplay, topicalign, comments, bodytext, nohtml, nosmiley FROM xoops_stories WHERE storyid= LIMIT 0, 1
Error number: 1064
Error message: You have an error in your SQL syntax near 'LIMIT 0, 1' at line 1

SELECT uname, uid FROM xoops_users WHERE uid= LIMIT 0, 1
Error number: 1064
Error message: You have an error in your SQL syntax near 'LIMIT 0, 1' at line 1

SELECT storyid, hometext, bodytext, title, published, expired, counter, nohtml, nosmiley FROM xoops_stories WHERE published < 1081083004 AND published > 0 AND (expired = 0 OR expired > 1081083004) AND storyid != ORDER BY published DESC LIMIT 0, 5
Error number: 1064
Error message: You have an error in your SQL syntax near 'ORDER BY published DESC LIMIT 0, 5' at line 1

phpdebug:
Warning [PHP]: Invalid argument supplied for foreach() in file c:\phpdev5\www\3dmax\include\common.php line 99

(always put that , is not spotlight module related)


other problem i noticed is the admin panel not save the news block configuration options.



135
javier
Re: change newbb new topic form width
  • 2004/4/2 21:50

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


thanks Predator and Dave_L



136
javier
change newbb new topic form width
  • 2004/4/2 12:19

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


I making a site for a resolution of 800x600 with both columns actived, the submit new topic form, more specificaly the field "message" is too wide for the site and i need reduce his width,

i modified other forms in other modules with width problems too,
but in newbb i can´t find where the width of the message field are specificaly.

i suuposed in newbb/include/forumform.inc.php

but i found only the title, that´s not a problem ,is under my eyes

echo "<input type='text' id='subject' name='subject' size='60' maxlength='100' value='$subject' /></td></tr>


but in the message field i only found
xoopsCodeTarea("message");

anybody can point me in the right direction plz?
thanks in advance.
grettings



137
javier
Re: help with mysql query in latest downloads block
  • 2004/4/1 11:05

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


now all works fine :) :)

i was made only the latest files blocks, now i added the top files ones and update the module.
the problem dissapear.

Thanks ALOT for your help Mithrandir i will not forget about,

grettings



138
javier
Re: help with mysql query in latest downloads block
  • 2004/3/30 16:07

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


i get 2 errors

mysql debug block1

SELECT lid, cid, title, date, hits FROM xoops_mydownloads_downloads WHERE cid IN (9,Array) ORDER BY date DESC LIMIT 0, 10
Error number: 1054
Error message: Unknown column 'Array' in 'where clause'

mysql debug block2

SELECT lid, cid, title, date, hits FROM xoops_mydownloads_downloads WHERE cid IN (9,Array) ORDER BY date DESC LIMIT 0, 10
Error number: 1054
Error message: Unknown column 'Array' in 'where clause'

No matter what number i put in $sel_category= in block2,
it always take the number of the other file (9)

code:
$sel_category 9;
include_once (
XOOPS_ROOT_PATH."/class/xoopstree.php");
$xt = new XoopsTree('xoops_mydownloads_cat'"cid""pid");
$categories $xt->getAllChildId($sel_category);
$categorystring implode(','$categories);
$categorystring $sel_category.",".$categories;
$result $xoopsDB->query("SELECT lid, cid, title, date, hits FROM xoops_mydownloads_downloads WHERE cid IN ($categorystring) ORDER BY {$options[0]} DESC"$options[1], 0);



139
javier
Re: help with mysql query in latest downloads block
  • 2004/3/30 14:46

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


mysql debug:

SELECT lid, cid, title, date, hits FROM xoops_mydownloads_downloads WHERE cid IN () ORDER BY date DESC LIMIT 0, 10
Error number: 1064
Error message: You have an error in your SQL syntax near ') ORDER BY date DESC LIMIT 0, 10' at line 1

code:
include_once (XOOPS_ROOT_PATH."/class/xoopstree.php");
$xt = new XoopsTree('xoops_mydownloads_cat'"cid""pid");
$categories $xt->getAllChildId(9);
$categorystring "(";
foreach (
$categories as $key => $categoryid) {
    if (
$key != 0) { //Only comma-separate subsequent categories
        
$categorystring .= ", ";
    }
    
$categorystring .= $categoryid;
}
$categorystring implode(','$categories);
$result $xoopsDB->query("SELECT lid, cid, title, date, hits FROM xoops_mydownloads_downloads WHERE cid IN ($categorystring) ORDER BY {$options[0]} DESC"$options[1], 0);



140
javier
Re: help with mysql query in latest downloads block
  • 2004/3/30 10:43

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Now work fine :):)

what happen when i wan put more than 1 block? sorry for not ask before.
My idea is have 3 or 4 blocks showing the latest files from each category,
when i tried to put a second block i get the following msg:

Fatal error: Cannot redeclare class xoopstree in c:\phpdev5\www\site\class\xoopstree.php on line 33

grettings








TopTop
« 1 ... 11 12 13 (14) 15 16 17 »



Login

Who's Online

171 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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