I Could Use Some Help [phpbb Forums]

free web hosting
Open Discussion > CONTRIBUTE > The Internet > Web Design

I Could Use Some Help [phpbb Forums]

mama_soap
Well, I have finally managed to get my forums up and running, and by and large, all the modifications are working OK. However, I do have a couple of issues I would like to sort out, and I would really appreciate any help... I know I should be posting in the MOD author's support forums, but I am not dying to sort these issues out, I am just curious if anyone who uses heavily modded phpBB has encountered these errors before. When I feel obsessed enough to get everything working, I probably will try a regular support group, but I am feeling rather out of place there, so I thought I'll just ask here in case I am missing the obvious.

[a] Attach Mod problem: The option for uploading an attachment is missing when I click on the 'new topic' button. Is this a problem with the template file, or the posting.php file?

[b] Topic Calendar problem: I get a SQL 1110 error when I try to schedule an event. It says a particular column was specified twice, but the funny thing is I am sure it wasn't, the code looks perfect.

[c] My mxbb potral is not working, although it was fine on it's first installation. Then I encountered an error that I couldn't fix, so I did a fresh install, and it now says:

CODE
Fatal error: Cannot instantiate non-existent class: template_class in /home/****/public_html/forums/includes/functions.php on line 470


Nice, eh?

Finally, I would like to know if it is possible (when the admins have enough time) to install LaTeX on the server. I'm using MimeTeX and I am happy, but I'd be happier with LaTeX. Just curious. Please see this post.

Cheers!

 

 

 


Reply

Notoroge
Maybe you didn't upload all the files by accident? Missing the most inane ".php" file somewhere could cause your site to crash horribly. I remember this was the case with WordPress when I installed it. I forgot to upload to some template file, and it cause the entire to just out-right not work all together. If I were you, I'd flip through the site's file-tree and see if you're missing any files.

There's always the possibility that the file "functions.php" itself doesn't work and has some sort of line ommited from it that should have been there to begin with. Why don't you go over to line 470 on that file and tell use what it says on that line, and we can help you from there? Most likely (From how I read that error), there's a class on a file somewhere that's not available becaues it doesn't exist. That's what I think. But if you fiddled around with that file, you might have changed a line and now it's pointing to a class that shouldn't be there because it's a typo of some sort.

I don't really know the exact nature of this problem right now because I've never used this mxbb, but that pretty much sums up the possibilities that I think are the problem. Check them out, if it's not what I said, then at least you discarded two possibilities.

 

 

 


Reply

mama_soap
Hello, Notoroge,

Thanks a ton for taking the time to reply. I think it is relatively unlikely that a file is missing, because the forums seem to be working fine. (They're located here, by the way, in case that helps.) However, it's a good idea, and I will check my files.

Line 470 and whereabouts in functions.php look like this:

CODE

//-- add
global $config, $themes;

$themes_exists = true;
if ( empty($themes) )
{
 $themes = new themes();
 $themes->read();
 $themes_exists = false;
}
$row = $themes->data[$style];

// force the main css when in admin
$head_stylesheet = $row['template_name'] . '.css';
if ( defined('IN_ADMIN') && ($row['head_stylesheet'] != $head_stylesheet) )
{
 foreach ( $themes->data as $style_id => $style_data )
 {
  if ( $style_data['head_stylesheet'] == $head_stylesheet )
  {
   $row = $style_data;
   break;
  }
 }
}

// clean up  if themes didn't exists
if ( !$themes_exists )
{
 unset($themes);
}

// get main parameters
$template_path = 'templates/';
$template_name = $row['template_name'];

// intantiate the template
$template = new template_class($config->root . $template_path . $template_name, $row['custom_tpls']);
//-- fin mod : categories hierarchy --------------------------------------------


I think the problem area is the line that comes after the comment, 'instantiate the new template', although line 470 is actually

CODE

  if ( $style_data['head_stylesheet'] == $head_stylesheet )
  {
   $row = $style_data;
   break;
  } <--HERE!


I can't figure out why the installation worke the first time and is returning an error now. Really wierd. Maybe I did not uninstall it cleanly enough. I just deleted my 'portal' folder, but did not do anything to the SQL.. The second installation worked fine, but I go to index file under portal, and it gives me this wierd error... sad.gif

Thanks again for your prompt reply. I do hope I sort this out soon biggrin.gif Thank you!


Reply

pilgrim_of_mini-monkeys
I suggest that you uninstall everything again, and delete all of the SQL included with the forums. I believe that the portal system uses some SQL, therefore it is still lingering.

After you have wiped it clean, then re-install it. You problem may also lie in the shoutbox.

And where is this error anyway? (i mean the notice of it).

Reply

cragllo
Here are some common problems:
1) Not uploading all the files needed
2) Not edition the files stated
3) Updating to a newer version of phpBB overwrites your modded files.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : phpbb, forums

  1. Forums
    Reliability (5)
  2. Help With Adding Php Forums On My Site
    (3)
    Hey guys! I am kinda new to the whole PHP scene and I am struggling to figure out how to add
    some simple forums to my site. Being that wonderful TRAP17 has free PHP support, I was wondering if
    anyone could send some help my way on how to go about doing this. Thanks in advance!....
  3. Phpbb Fully Modded
    (0)
    Download it today here: http://phpbbfm.net/support/dload.php?actio...d&file_id=3 But, what mods
    does it have you say? Well, heres the list: Number New Posts Index Link v1.0.1 Total Topics On
    Index Page v1.0.0 Shows Topic Of Last Made Post On Index v1.4.0 Clickable Folder Icons v1.0.0
    Hypercell's For All Pages v1.1.0 Merge Posts/Topics Together On Index v1.0.0 Generation Creation
    v1.0.0 Level In Memberlist v1.0.0 Remove Coppa v1.0.0 Default Avatar v1.1.0 Welcome & Avatar On
    Index v3.0.4 Smilies List v1.0.2 Who Posted? v0.1.3 Get Last 24h Posts v1.1.0 No All Caps....
  4. The Trap17 Forums "reply" Mod [resolved]
    (3)
    i notice trap17 forums are invision power board 2.1.x ...i have a 2.1.7. if any1 knows anything
    about the mods for the following: (everything circled in red)
    http://img126.imageshack.us/img126/503/replypanelui5.jpg if anyone knows where to find the
    mod/images that are used for this forum's reply system, i'd be v grateful /smile.gif"
    style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> (basically, the dropdown
    menus for fonts/sizes/etc, the Bold, italics, etc, the spoilers/codebox/etc)....
  5. Phpbb 2 Free Themes/templates
    (5)
    Ive been searching around for a mellow layout but I can't find anyone that I like that is free
    Ive tried: phpbb.com phpbbhacks.com phpbb-themes.com and a few others If you have any
    suggestions please reply....
  6. Big 3: Vbulletin Vs. Invision Power Board Vs. Phpbb
    (23)
    The 3 main competitors in the forum software battle. VBULLETIN: commercially sold, probably the
    most well known and popular forum system. INVISION POWER BOARD: used to be free, now commercially
    sold, very popular forum system. PHPBB: free and very popular forum system. What is your pick and
    why? personally, I used to be an Invision Power Board fan but have switched to phpbb. I really like
    it's range of skins and most of all it's free!....
  7. Phpbb 3.0 Beta 2 - Free Forum Software
    Have a look at the features... (28)
    In the fantastico section of the Trap17 cpanel you might have noticed that there is an opportunity
    of have a Forum installed on your Hosting account. One of the available Forums is phpBB, and last
    time I checked, the version on the fantastico was something like 2.17. The newest production
    version is phpbb 2.21 and it includes all the latest fixes and bug squashes. The 'new'
    phpbb is version 3.0 Beta 2. This means it is not yet suitable for an actual production environment,
    but it is solid enough to be made available to user for testing. Phpbb 3 Beta 2 version....
  8. Phpbb And Mysql Relations?
    Need forum code for my website (2)
    Hi if someone could get back to me as fast as they can that would be great! i got a couple of
    questions what do you use my sql for what does that have to do with forums? and secondally can
    someone give me the php code for the forum thanks /biggrin.gif" style="vertical-align:middle"
    emoid=":D" border="0" alt="biggrin.gif" />....
  9. Phpbb 3 (aka Olympus) First Beta Version Release
    Beta Version Of The Third PHPbb (8)
    For the last month or so I have been going to http://phpbb.com because I really wanted a somewhat
    stable PHPbb to be realeased. It has a lot of features that finally allow it to compete with
    Invision Power Board such as their warn system. The three years we waited were worth it because it
    really got better since version 2. On http://phpbb.com . The only thing is they don't really
    have much support right now so if you run into a problem your gonna have to fix it yourself. QUOTE
    Obtaining Support During the beta phase a minimal level of support will be given. ....
  10. Installing E107 And Phpbb
    Any Help??? (2)
    Hi, Pretty soon i *hope* my website application will be accepted and i can Start building for my
    clan I have a question How do i setup e107 ( a Content Management System) and PHPBB Boards (Forum)
    So i dont "blow up" anyhing, i really dont know how to add em, I know it involves FTP however... IF
    you can help and give me a 411 or tutorial Either here for via PM, Then GOD BLESS YOU!!!
    -Laos....
  11. Phpbb 3, Olympus, Gonne Be The Best Forum Ever!
    its gotta be, weve been wating 3 years. (5)
    I cant wait for Olympus. Its been long enough since they started (started Jan 2003, take a look at
    its progress: http://area51.phpbb.com/statcvs/ ). Its taklen alot of time and they still arent
    neraly finished. They have enlisted the help of their own community to make small things to help.
    Like RSS feeds (of topics, forums and categorys, even teh whole board) the reason its version 3 and
    not 2.3 is because its benn totaly re-written from the ground up. There are pleanty of other forums
    out there based on phpBB such as punBB, a very lightweight, version of phpBB, no i....
  12. Good Phpbb Portal System
    (4)
    I need a CMS system or portal system that is simple and easy to use. I want my current theme to work
    on it and such. I tried EzPortal and it was good, but not too much to add to it, do you guys have
    any suggestions?....
  13. Phpbb Resouces
    mods, templates, hacks (0)
    I've been working on developing a new phpBB forum for my website. So far I have added several
    mods: Advanced Dungeons and Rabbits, Cash Mod, and Rabbitoshi. So far so good. I'm now working
    on changing the default template. I thought I would share some of the resources I have come across
    in my phpBB travels. /wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> Have
    you found any good resources for phpBB? phpBB Hacks - lots of templates, mods, and images
    http://www.phpbbhacks.com/ phpBBStyles.com - a phpBB community, you can download temp....
  14. Phpbb Customization Help!
    Is this possible? (7)
    Hello all, I am going to set up phpBB on my site. Take a look at:
    http://www.phpbb2.de/electronics-template.php They have all sorts of templates there that you can
    download for a fee. What I want to know is this: How would I go about integrating one of these
    templates into phpBB? Is this a monumental task? I want to set up a site and phpBB seems cool, but
    I'm not sure what will be entailed in trying to integrate one of these templates. Thanks!....
  15. Mod Of Choice For Phpbb
    which one? (15)
    hello, i just wanna open the discussion for those phpbb users. here we go, - so, after you've
    installed the phpbb and run, which mod did you first install? - and what are the mods of your choice
    for phpbb? there are lot of hacks for phpbb on its main site, phpbbhack dot com and others.. for me,
    my first mod to install then after phpbb is Categories hierarchy by Ptirhiik. let me hear
    yours! /rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /> ....
  16. Phpbb Or Invision Power Board ?
    (60)
    hi, i am just about to start a forum, that is about warcraft3 maps development and discussion and
    bugs report, appox 500+ members. but i am not sure the difference between phpbb and invison power
    board, any information about that would be extre me useful here.....
  17. Phpbb Forum Skins And Stuff
    help with Phpbb Forum Skins (7)
    well i have my new clan forum, its www.finaldarkforum.uni.cc and i was wondering if theres a place
    to download phpbb templates. this is beacause, im using myfreebb and i want a good template that
    doesnt suck. how do i install one? are they free? thx jon!....
  18. What Are Your Views On Phpbb Or Ipb?
    (2)
    I personally do not like euther of them except for the fact that they are both very secure. But i
    think that to many people have them and that they are a little over used. My boards are pretty
    common but tghey are not used nearly as much as Invision or PHPBB. And for all of you that aer
    ecurious I am running the WhiteFyre source. I think that it looks a little better than the rest of
    them and is a little easier to use than the rest of this.
    ....
  19. Phpbb - Free Skins
    (6)
    If anybody wants phpbb skins, at least 50 - 100 skins that i have to share, just leave here your
    email adress.....
  20. scripting forums
    how to or where to find (1)
    biggest question i have is setting up a forum set like here on trap17.com of all the ones that i
    have seen they expect you to pay over 200-300 just to get their board i seen some decent free ones
    to so my first question would be 1. which scripting would i use cgi, php, asp, dhtml, my sql 2.
    where do i start with when designing the that forum is well. 3. which would be more convenant to
    set up as well.....
  21. Ok, I Have Downloaded Phpbb....
    ..... (14)
    ...but everytime I try to open up any of the phpBB folders, it says something about having to find
    out where it came from (what site it came from I mean). I downloaded it from the phpBB site. Does
    anyone know an easier way to tell me what to do next? Does anyone know where I can find an equally
    nicer forum?....

    1. Looking for phpbb, forums

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for phpbb, forums

*MORE FROM TRAP17.COM*
advertisement



I Could Use Some Help [phpbb Forums]



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE