473,233 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

[MySQL] phpBB not displaying topics

Hi there...

Yes, I know there exists a suport forum for discussion about problems
with phpBB, but noone there seems to know the solution to my problem...
so I ask here.

I've been messing around with phpbb_ tables in my database... I'm trying
to convert a incomplete Ikonboard forum to phpBB, and had to do lots of
stuff manually (which is fine as I'm familliar with MySQL). And, now I'm
stuck and can't figure out the problem...

The forum in question is:
http://fly.srk.fer.hr/~nick/remorkeri/phpBB2/

The situation is this:
a) from the outside:
On index.php I can see numer of topics, number of posts and info about
last post. On viewforum.php I get "There are no posts in this forum.".
b) from the inside:
select post_id, topic_id, forum_id from phpbb_posts;
returns a whole bunch of everything, so this table seems OK.

select post_id, post_text from phpbb_posts_text;
same thing.

select topic_id, forum_id, topic_title from phpbb_topics;
same thing.

So, form the inside everything seems nice. So, why viewforum.php doesn't
see the articles? I tried to figure out the PHP code, but couldn't,
haven't got all the time in the world...

Anyway, can anybody help?

--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
Jul 17 '05 #1
1 2755
Dana Tue, 19 Apr 2005 10:51:00 +0200
Nikola Skoric (ni*******@net4u.hr) kaze...
Anyway, can anybody help?


Wierd piece of software is this phpBB I can say... The problem was this:

mysql> select count(*) from phpbb_topics where topic_first_post_id=1;
+----------+
| count(*) |
+----------+
| 1 |
+----------+
1 row in set (0.00 sec)

mysql> select count(*) from phpbb_topics where topic_first_post_id=0;
+----------+
| count(*) |
+----------+
| 335 |
+----------+
1 row in set (0.00 sec)

So, then I realized that the post with the topic_first_post_id=1 was the
one visible... so for the fun of it I did this:

mysql> update phpbb_topics set topic_first_post_id=1;
Query OK, 335 rows affected (0.02 sec)
Rows matched: 336 Changed: 335 Warnings: 0

And now I can see all of my topics... ~:-\ Although they are sorted in
somewhat randomly manner and "Guest" is Author of all of the topics...
but at least I've moved a bit :-)
--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: iisath | last post by:
Hello, Trying to get help with this situation. I have installed PHPBB, PHP (4X) and MySQL 4.1. This is how I started out. 1. Installed MYSQL - ran setup - did FULL install - and entered in...
1
by: g8z | last post by:
Greetings! It is with great pride that I announce the release of FlashBB, the newest member of the TUFaT.com family of products! FlashBB is a PHP / MySQL - driven bulletin board, sporting a...
1
by: jiing | last post by:
Now let me describe what I have done and my purpose: Originally, I want to user ports to install phpBB But I found that phpBB doesn't support mysql 5.x (but the ports installed mySQL 5.0.0...
7
by: Eric | last post by:
Hi, Any suggestion to Rapid Application Dev with postgreSQL ? I have a small app to make. I would prefer open-source solution if possible. I also would like to developp on my linux box but...
3
by: jcharth | last post by:
Hello a friend of mine was running phpbb on his site and the site got hacked. I am starting a new forum site and i installed punbb. Phpbb has many many nice features that punbb does not have. I had...
2
by: Saloc | last post by:
Hi all Now I have WAMP up and running designing in Dreamweaver, I have this question when creating a mysql data base to run PHPBB foums on and some sort of PHP photo gallery. How do i...
5
by: Adotek | last post by:
Hi All, I am looking to add a forum to our PHP/mySQL website. I have decided to get an off-the-shelf solution as it seems there are plently of excellent packages available - No point in...
0
by: mbatestblrock | last post by:
Hi all, this is a pretty basic question that I searched for and didn't find anything that I think someone could tell me pretty quick, and if so I would be thankful. I am wanting to install PHPbb...
1
by: BlackWater | last post by:
I am trying to put up a phpBB forum on my website, but I keep getting this message after the last step. How am I supossed to get access? I know my user name and password are correct yet it denys me...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.