473,769 Members | 5,727 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[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_tex t;
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 2819
Dana Tue, 19 Apr 2005 10:51:00 +0200
Nikola Skoric (ni*******@net4 u.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_pos t_id=1;
+----------+
| count(*) |
+----------+
| 1 |
+----------+
1 row in set (0.00 sec)

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

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

mysql> update phpbb_topics set topic_first_pos t_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
1988
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 new password when requested. MYSQL gave the green light when computer rebooted. Created new database with CREATE DATABASE XXX; Also installed ODBC from
1
2448
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 sleek Flash 7 interface. This is the first public release of FlashBB, and I've decided to make this system 100% open-source. For just $5, you get: 1) ALL of the source code, including the Flash .FLA files.
1
121535
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 alpha) so I deinstall mysql5-server and mysql5-client And then I install mysql41-server and mysql41-client on FreeBSD 5.3 by ports but now , mysql is not workable
7
3714
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 the result will be used on a windows 2000 and XP machine. But If I have no choice, I will developp on winXP.
3
3199
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 to adapt advanced poll to my site because i found many threads related to bugs with easy poll. So now i am running punbb with advanced poll. Not very friendly but works. I am wondering if i should switch to Phpbb but i am worried about the...
2
1511
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 know what to set my fields as or does PHPBB forums auto the fields for me as long as I have a databases created??
5
2227
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 re-re-inventing the wheel! Can anyone recommend a particular forum package, given the points below: - SEO canonical issues must have been addressed (e.g. Only one URL per
0
844
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 forum on a web server which is also running Exchange 03 (basic setup) I was just wondering if I install MYSQL to install the PHPbb database could I see any problems with it clashing with the SQL server that was installed with exchange. The...
1
1663
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 access. A fatal and unrecoverable database error has occurred. This may be because the specified user does not have appropriate permissions to CREATE TABLES or INSERT data, etc. Further information may be given below. Please contact your hosting...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9860
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6668
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3955
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3560
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.