Page 1 of 1
lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 2:09 am
Author: yotsume
Your phpBB Version: 2.0.
phpBB Type: phpBB / IMPortal
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.themagicalyears.com/cm/ PHP Version: MySQL Version: What was done before the problem appeared?Edited my board files according to the instructions. I also imported the txt file into my database as per the instructions. What was done to try to solve the problem?I have not done anything to fix this problem because I do not know how. De.scription and MessageI just installed IM Portal and get this error:
Fatal error: Cannot redeclare mytimestamp() (previously declared in .../language/lang_english/lang_main.php:946) in .../language/lang_english/lang_main.php on line 946
I need serious help fixing this so I can get my board back up and running.
Thanks!
Yotsume
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 2:23 am
Author: found it
hi
Whats on the lines 940 to 950..


Posted:
Sun Jul 15, 2007 2:30 am
Author: yotsume
I have a no More GMT mod here. Uggggg Must conflict? Now what do I do?
/* Begin NoMoreGMT! mod code by Jason Baker of Fablesoft.com */
//mytimestamp, this function generates sane representations of "GMT - 4"
function mytimestamp($adjust)
{
$zone = 3600 * $adjust;
$tmptime = $mytime; //gmdate thrashes this value.
$hour = gmdate("H", time() + $zone);
$tmptime = $mytime;
$min = gmdate("i", time() + $zone);
$ampm = "";
if ($hour > 23) $hour = $hour - 24;
if ($hour <0> 12)
{
$hour = $hour - 12;
$ampm = "pm";
}
else
{
if ($hour == 0) $hour = 12;
$ampm = "am";
}
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 2:33 am
Author: found it
hi sorry I meant lines 940 to 950 in lang_main.php
if that code is in your lang_main.php then that is your problem...

Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 2:35 am
Author: yotsume
I am trying to remove that mod right now....
Stay tuned....

Posted:
Sun Jul 15, 2007 2:36 am
Author: yotsume
Ok now I have a bigger error that says:
phpBB : Critical Error
Could not query portal config table
DEBUG MODE
SQL Error : 1146 Table 'db176034507.cmbb_portal_config' doesn't exist
SELECT * FROM cmbb_portal_config
Line : 47
File : functions_portal.php
Now how do I fix that???
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 2:51 am
Author: found it
Hi
Have you added the database queries for importal...?

Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 2:53 am
Author: yotsume
I thought I did but I am not sure exactly how to do that from a txt file.
How do I do that? Got step by step instructions? Better yet got any form of Instant Messenger???
Tnaks for the help...
Yotsume
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 3:09 am
Author: found it
Hi to add database queries
go to your phpmyadmin... find your database on the top right your should see SQL
click on that tab and then copy and paste the text straight into the box and press go...if you get any errors saying dublicate then you alreay have added the queries....
also remember your database has the prefix cmbb and not phpbb so your need to change where appropriate...


Posted:
Sun Jul 15, 2007 3:22 am
Author: yotsume
It said:
Your SQL query has been executed successfully:
The content of your file has been inserted. (77 Instructions)
But I do not see any new tables listed that should be there.
Anyone help with clear instruction on how to add the txt file to my database please!?
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 3:24 am
Author: found it
I just gave instructions above regarding how to add as a text file...did you change the prefix phpbb to cmbb...?
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 3:26 am
Author: yotsume
Change the prefix where??? Where is that in the instructions?

Posted:
Sun Jul 15, 2007 3:37 am
Author: yotsume
How do I change the prefix? Where do I need to do that from?
Yotsume

Posted:
Sun Jul 15, 2007 3:57 am
Author: yotsume
Holy good lord I figured it out!
For the love of god that needs to be added clear into the instructions!
Now my next problem is I have a mod called: Moby Thread.
It is messing up up the bottom of all my pages layouts. It shows test from this like:
- You cannot remove my copyright notice from style without my permission. - You cannot use images from this style anywhere else without my permission. - You can convert this style to another software, but converted style must have my copyright. - If you want to create new phpBB style based on this style you must ask my permission. - If you modify this style it still should contain my copyright because it is based on my work. Modified style should not be available for download without my permission.
Also, There is no site admin link now to ender my Admin Panel! Uggggg
I am almost there with this please help! LOL
Thanks,
Yotsume
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 4:03 am
Author: yotsume
Have a look at my site and all the weird tect at this URL please:
http://www.themagicalyears.com/cm/How do I get rid of that and fix my layout? Where should the Site Admin Panel link be? At the bottom right?
Uggggg
Re: lang_main.php Error After Installing IM Portal

Posted:
Sun Jul 15, 2007 4:17 am
Author: found it
In your overall_footer.tpl file that writing should have b4 it
- Code: Select all
</code>

Posted:
Sun Jul 15, 2007 4:29 am
Author: yotsume
I just deleted the text it was an add for their mod.
Last little problem I think. I have this text at the bottom:
{PORT and numbers
I dont know where that is being generated from. I still do not have a link to my Admin Panel anywhere.
Should I???
Yotsume