The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]() Code:
$journal_views = $DB_site->query(" SELECT u.username, j.journalid, j.title, j.description, j.timestamp, j.userid, j.entries, j.views FROM journal j LEFT JOIN user u ON u.userid = j.userid WHERE j.enabled = 1 ORDER BY j.views DESC LIMIT " . "$vboptions[journals_viewdisplaylimit] "); ![]() |
#12
|
|||
|
|||
![]()
Could you try replacing it with this, and telling me what happens then?
Code:
$journal_views = $DB_site->query(" SELECT u.username, j.journalid, j.title, j.description, j.timestamp, j.userid, j.entries, j.views FROM journal j LEFT JOIN user u ON u.userid = j.userid WHERE j.enabled = 1 ORDER BY j.views DESC LIMIT $vboptions['journals_viewdisplaylimit'] "); |
#13
|
|||
|
|||
![]()
i get this error:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/exas77ko/public_html/forum/journal.php on line 1211 |
#14
|
|||
|
|||
![]()
Try this instead:
PHP Code:
|
#15
|
|||
|
|||
![]()
Ah, brad.loo to save the day.
![]() edit. hey brad.loo, maybe you could help with my problem :devious: ![]() |
#16
|
|||
|
|||
![]() Quote:
Database error in vBulletin 3.0.0: Invalid SQL: SELECT u.username, j.journalid, j.title, j.description, j.timestamp, j.userid, j.entries, j.views FROM journal j LEFT JOIN user u ON u.userid = j.userid WHERE j.enabled = 1 ORDER BY j.views DESC LIMIT0 mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT0' at line 1 mysql error number: 1064 |
#17
|
|||
|
|||
![]()
Argh...damn array, use this:
PHP Code:
|
#18
|
|||
|
|||
![]() Quote:
|
#19
|
|||
|
|||
![]()
Wait, is the the journal script posted on evB? Last I heard that has alot more errors then just then one, just so you know.
You can try throwing this at it, are you sure you set up all the vBoptions for that script correctly? PHP Code:
|
#20
|
|||
|
|||
![]()
no.. didn't fixc the problem
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|