lang_main.php Error After Installing IM Portal

Support for the IM Portal Project

Moderator: Integra Moderator

lang_main.php Error After Installing IM Portal

PostAuthor: yotsume » Sun Jul 15, 2007 1:09 am

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 Message

I 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
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: found it » Sun Jul 15, 2007 1:23 am

hi

Whats on the lines 940 to 950..

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

PostAuthor: yotsume » Sun Jul 15, 2007 1:30 am

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";
}
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: found it » Sun Jul 15, 2007 1:33 am

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

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: yotsume » Sun Jul 15, 2007 1:35 am

I am trying to remove that mod right now....

Stay tuned....
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

PostAuthor: yotsume » Sun Jul 15, 2007 1:36 am

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???
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: found it » Sun Jul 15, 2007 1:51 am

Hi

Have you added the database queries for importal...?

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: yotsume » Sun Jul 15, 2007 1:53 am

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
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: found it » Sun Jul 15, 2007 2:09 am

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

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

PostAuthor: yotsume » Sun Jul 15, 2007 2:22 am

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!?
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: found it » Sun Jul 15, 2007 2:24 am

I just gave instructions above regarding how to add as a text file...did you change the prefix phpbb to cmbb...?
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: yotsume » Sun Jul 15, 2007 2:26 am

Change the prefix where??? Where is that in the instructions?
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

PostAuthor: yotsume » Sun Jul 15, 2007 2:37 am

How do I change the prefix? Where do I need to do that from?

Yotsume
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

PostAuthor: yotsume » Sun Jul 15, 2007 2:57 am

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
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Re: lang_main.php Error After Installing IM Portal

PostAuthor: yotsume » Sun Jul 15, 2007 3:03 am

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
Last edited by yotsume on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Yotsume
User avatar
yotsume
Newbie
Newbie
 
Posts: 20
Likes: 0 post
Liked in: 0 post
Joined: Sun Jul 15, 2007 12:59 am
Cash on hand: 0.00

Next

Return to IM Portal Support Forum

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]