[SOLVED] portal.php not displaying by default

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
wonderous
Active Member
Posts: 7
Joined: 10. September 2008 18:23

[SOLVED] portal.php not displaying by default

Post by wonderous »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Premodded phpBB
MODs installed: Yes
Your knowledge: Basic Knowledge

What have you done before the problem was there?
Installed 1.0.0RC3, refreshed templates, themes, imagesets, purged the cache. Everything displays correctly.

What have you already tryed to solve the problem?
I dont know what to do

Description and Message
After installing I refreshed templates, themes, imagesets, purged the cache. Everything displays correctly.
But when I tried to log in through the portal, and click on 'Return to the previous page', I get an error:

General Error
SQL ERROR [ mysql4 ]

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 '' at line 4 [1064]

SQL

SELECT forum_id, mark_time FROM phpbb_forums_track WHERE user_id = 2 AND forum_id =

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/functions.php
LINE: 1225
CALL: dbal_mysql->sql_query()

FILE: portal/block/announcements.php
LINE: 134
CALL: get_complete_topic_tracking()

FILE: portal.php
LINE: 107
CALL: include('portal/block/announcements.php')


The error happens only when I log in through the portal. I can log in successfully in the phpbb3 board.
Last edited by wonderous on 12. September 2008 17:50, edited 2 times in total.
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Cannot log in through the portal

Post by Ice »

If you then go back to the portal page while logged in do you get this error?
Board3 Portal Dev & English Tech Support

Topic author
wonderous
Active Member
Posts: 7
Joined: 10. September 2008 18:23

Re: Cannot log in through the portal

Post by wonderous »

Yes I get exactly the same error :evil:

Topic author
wonderous
Active Member
Posts: 7
Joined: 10. September 2008 18:23

Re: Cannot log in through the portal

Post by wonderous »

All registered users that log in can access the forums, but not the portal.
I logged in with a registered user and got
General Error
SQL ERROR [ mysql4 ]

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 '' at line 4 [1064]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
And when i return to the forum index i am logged out.
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Cannot log in through the portal

Post by Ice »

Hmm if you open /portal/blocks/announcements.php could you look for the line that starts "* @version $Id: announcements.php" and copy the whole line out for me? I was sure I fixed this before but if not I'll check again.
Board3 Portal Dev & English Tech Support

Topic author
wonderous
Active Member
Posts: 7
Joined: 10. September 2008 18:23

Re: Cannot log in through the portal

Post by wonderous »

Code: Select all

* @version $Id: announcements.php 293 2008-08-11 15:25:45Z icedcold $
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Cannot log in through the portal

Post by Ice »

You seem to be using old files, are you sure you are using 1.0.0RC3 ?
Board3 Portal Dev & English Tech Support

Topic author
wonderous
Active Member
Posts: 7
Joined: 10. September 2008 18:23

Re: Cannot log in through the portal

Post by wonderous »

You're right I was using an old file.. dont know why it wasn't updated, because I downloaded the newest package from this forum and copied from root everything and pasted into my forum directory.. it should have been updated but it wasn't, anyway it's working now let me test more to see if there are more problems. Thanks so much.

Topic author
wonderous
Active Member
Posts: 7
Joined: 10. September 2008 18:23

Re: portal.php not displaying by default (last post)

Post by wonderous »

when i type http://www.XXXX.com/forum
the forum index.php displays and not the portal although
DirectoryIndex portal.php index.php index.html index.htm
has been added to my .htaccess?
Locked

Return to “board3 Portal 1.0.x - English Support”