Page 1 of 1

Major Error

PostPosted: Thu May 04, 2006 3:37 pm
Author: DjPorkchop
Hello all. I would like to apologize in advance for the length of this post. Lets get started.
I have a fresh (no mods) install of IM 1.4.0 phpBB2.0.19 PhpBB security latest.

When I click on the statistics link and only on the statistics link, i get a major error on all subice color schemes and PowerMetal theme. But note, it did this before powermetal was installed.

Here it is... http://www.mweva.com/phpBB

I edited out the error here because it is so long.

Help!!!!! What is wrong. I have installed many of IM run websites without this issue. Not sure what has happened. Double checked all folder permissins and everything is good to go.....Anyone?

Re: Major Error

PostPosted: Thu May 04, 2006 3:54 pm
Author: Helter
it looks like "safe mode" has been enabled in you php.ini
It looks like the erroring hack will not function with safe mode on. You will have to either edit your php.ini, or request that your host do it for you

Re: Major Error

PostPosted: Thu May 04, 2006 4:11 pm
Author: DjPorkchop
I am my host. I have my own server. But now lets not be fooled, i know nothing about servers what so ever. been looged in to mine twice in a years time. It is an unmanaged server. I usually have my cousin take4 care of it for me. I asked him and he changed nothing. Nerver had this prob before. How would I even go about editing somethinglike that? And by the way I noticed that after bringing this site up online my main site has went down now. They are on the same sight, just different directories. Stupid to do yes, but was testing. As soon as the/phpBB site come on my mweva.com went down with this error..

phpBB : Critical Error

Could not get theme data for themes_id [5]

<img>

I am sorry, I should have posted this topic in the 1.4.0 support i suppose instead of modifications. Im sorry.

Re: Major Error

PostPosted: Thu May 04, 2006 4:27 pm
Author: Helter
delete your browser cache and you should get around the template error.
I think you have a cookie problem. You can download cookieMOD from the dl section here and run it on both sites. Very simple to use.
upload the cookieMOD folder to each forums root folder. Then browse to the cookie.php file ind=side the cookieMOD folder
ie.. http://yoursite.com/integramod site/cookieMOD/cookie.php
it will detect the proper cookie settings for your forum. click the check box at the bottom of the script and It will edit your db. When you have finished, delete the cookieMOD folder for security reasons

Re: Major Error [SOLVED]

PostPosted: Thu May 04, 2006 4:54 pm
Author: DjPorkchop
Fixed!! Thx helterSkelter. That did the trick. Sorry I posted in modifications instead of IM 1.4 support forum. I feel under the weather today and wasnt paying attention. And if anyone can help me out on this php.ini deal I'd appreciate it. Imat a loss on server issues. As stated cant contact host since it's me...lol Have a nice day.

Re: Major Error

PostPosted: Thu May 04, 2006 4:58 pm
Author: Helter
are you running linux, unix, windows?
php ver?
can you find your php.ini? In most linux servers, it will be in the "etc" dir, not sure of windows

Re: Major Error

PostPosted: Thu May 04, 2006 5:03 pm
Author: DjPorkchop
"HelterSkelter";p="4635" wrote:are you running linux, unix, windows?
php ver?
can you find your php.ini? In most linux servers, it will be in the "etc" dir, not sure of windows


FreeBSD 5.3-RELEASE what its called.
PhP Version : 4.3 ?
And I now have it wittled down to 1 small error that is eluding me. In internet explorer OR firefox, i get this:

problems with this page might prevent it from being displayed properly....etc

Line:667
Char:1
Error: Object Expected
Code:0
Url:http://www.mweva.com/portal.php?

PostPosted: Fri May 26, 2006 5:31 pm
Author: Michaelo
In windows it's in the php directory of windows/winnt directory... Did you resolve this issue?

PostPosted: Fri May 26, 2006 5:35 pm
Author: Jason Sanborn
He's running FreeBSD 5.3-RELEASE, not Windows. <img>

PostPosted: Fri May 26, 2006 5:47 pm
Author: Michaelo
I going to learn to read tomorrow <img>

Re: Major Error

PostPosted: Sat May 27, 2006 5:43 am
Author: DjPorkchop
Well, yes and no. Onthe solved part. I know where the error is, and now I am getting it in another place on my board as well, BUT it is ok. My cousin is the one that does all the shell access stuff for me and unfortuneatly he is a union carpenter and works sun up to sun down so he dont have any time to get into the server anymore. Im gonna have to figur it outon my own adventually i suppose.. Have a nice day gents.....

PostPosted: Sat May 27, 2006 5:47 am
Author: Eon
Would this be anythign to do with the chmod permissions on those other files like I had to do? Cause only the statistics mod was affected by them as well.

I don't think it said anythign about safe mode though. But is it possible?

Re: Major Error

PostPosted: Thu Jan 25, 2007 10:00 pm
Author: mRvMan
Sadly, I too am getting this error:
Code: Select all
Could not get theme data for themes_id [7]


I've searched here on the board to see what solution everyone's been applying and trying them myself.

As of this post I still can't access my board.

I've uploaded the entire (full) file set to a second directory after renaming the original directory, and copied over my config file - same result.

I've triple-checked permissions for every folder and file - same error.

And although I can browse my database with phpmyadmin, I am not familiar with where I should be looking, as in what table(s) to modify the value so this stupid error will go away.

Would someone please post a possible solution or how-to to address this? My forums have been down for 2 days now because of this update-induced issue. I'm frustrated and can't figure it out.

ADMINS: Please move this post to its most appropriate thread as needed.

Thanks for any help you all can provide...

PS: host is linux, etc - was running Imod 1.40 with all updates until I updated to 1.41.

Re: Major Error

PostPosted: Thu Jan 25, 2007 11:09 pm
Author: Teelk
You can try the following in phpmyadmin

Code: Select all
TRUNCATE phpbb_themes;
This will empty the themes table of all themes.

Code: Select all
INSERT INTO `phpbb_themes` (`themes_id`, `template_name`, `style_name`, `head_stylesheet`, `body_background`, `body_bgcolor`, `body_text`, `body_link`, `body_vlink`, `body_alink`, `body_hlink`, `tr_color1`, `tr_color2`, `tr_color3`, `tr_class1`, `tr_class2`, `tr_class3`, `th_color1`, `th_color2`, `th_color3`, `th_class1`, `th_class2`, `th_class3`, `td_color1`, `td_color2`, `td_color3`, `td_class1`, `td_class2`, `td_class3`, `fontface1`, `fontface2`, `fontface3`, `fontsize1`, `fontsize2`, `fontsize3`, `fontcolor1`, `fontcolor2`, `fontcolor3`, `span_class1`, `span_class2`, `span_class3`, `img_size_poll`, `img_size_privmsg`) VALUES (1, 'Integra2', 'Integra2', 'Integra2.css', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'row1', 'row2', '', '', '', '', 0, 0, 0, '', '006600', 'ff0000', '', '', '', 0, 0);  
This will insert the Integra2 theme into the themes table. After this is done try deleting cookies from your browser again and try to access your forum.

PostPosted: Thu Jan 25, 2007 11:24 pm
Author: ZacFields
I tested this for Teelk a few days ago and this was the only thing that works. Do that ^^^^^^^

Zac

Re: Major Error

PostPosted: Fri Jan 26, 2007 9:46 am
Author: mRvMan
Teelk, thank you for posting that so quickly.

I followed your suggestion and ran the TRUNCATE SQL in phpmyadmin.
I also ran the create themes table sql.

I verified the table was created and the values were there.

The error persists.

I uploaded a fresh install and created a 2nd board. It installed and ran just fine.
I swapped config.php files between the 2 boards (looking to see if perhaps some files did not update when I uploaded and over-wrote the 1.40 files previously)

The old board, using the new config.php file displays normally, albeit empty since it's pointing to the newly created database.
The new board now displays the error, leading me to believe there is still something within the database that is causing the problem.

I exported the three themes tables form the new board and imported them into the old board, replacing the existing ones.

Error persists.

Oh, and yes, I also went to a machine that has never visited my site and attempted to access the board from there - no success.

Are there other tables I should consider checking?

PostPosted: Mon Jan 29, 2007 12:31 am
Author: tekguru
Hmm, just tried this on my Could not get theme data for themes_id [19] error and no go <img>

PostPosted: Mon Jan 29, 2007 3:34 am
Author: Michaelo
Delete site cookies... The change style block uses cookies to track which style you are using, if you update themes remember to delete cookies else your system will try to login using the wrong style which may or may not exist...
I think the MyCookies Manager link' on index should do the trick...
Mike