Jump to content
xisto Community
mama_soap

I Could Use Some Help [phpbb Forums]

Recommended Posts

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?

 

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:

 

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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:

 

//-- 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

 

   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... :lol:

 

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

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

Here are some common problems:1) Not uploading all the files needed2) Not edition the files stated3) Updating to a newer version of phpBB overwrites your modded files.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.