Page 1 of 1

Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 4:21 pm
Author: Souledge
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://www.wowmalice.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
Nothing


What was done to try to solve the problem?




De.scription and Message

Hi guys, any help would be greatly appreciated. Around 3 weeks ago our website http://www.wowmalice.com stopped loading. It would just hang on loading and nothing shows up. So initially I thought it was the web hosting company. After about 3 weeks of contact and investigation.

They said this:

I am writing regarding your ticket # 4511851. I have checked the issue and found that the problem is with /web/portal.php. Please check the .script once again and try.

Sincerely,

Shelton Kiplin.
Technical Specialist

So I've opened portal.php and im sorry if this seems a bit annoying to post over here but I really don't know where else to ask for help.


Code: Select all
<?php/***************************************************************************  *                                portal.php  *                            -------------------  *   begin                ]http://www.integramod.com[/url]  *   email                : <a>webmaster@integramod.com</a>  *  *   note: removing the original copyright is illegal even you have modified  *         the code.  Just append yours if you have modified it.  ***************************************************************************/  /***************************************************************************  *  *   This program is free software; you can redistribute it and/or modify  *   it under the terms of the GNU General Public License as published by  *   the Free Software Foundation; either version 2 of the License, or  *   (at your option) any later version.  *  ***************************************************************************///// Set up for phpBB integration.//define('IN_PHPBB', true);$phpbb_root_path = './';  //// phpBB related files//include_once( $phpbb_root_path . 'extension.inc' );include_once( $phpbb_root_path . 'common.' . $phpEx );  //// Start session management//$userdata = session_pagestart( $user_ip, PAGE_PORTAL );init_userprefs( $userdata );//include($phpbb_root_path . 'referers.'.$phpEx);define('PORTAL_INIT', TRUE);include($phpbb_root_path . 'includes/functions_portal.' . $phpEx);portal_config_init($portal_config);include_once($phpbb_root_path . 'includes/lite.'.$phpEx);$options = array(     'cacheDir' => $phpbb_root_path . 'var_cache/',     'fileLocking' => $portal_config['md_cache_file_locking'],     'writeControl' => $portal_config['md_cache_write_control'],     'readControl' => $portal_config['md_cache_read_control'],     'readControlType' => $portal_config['md_cache_read_type'],     'fileNameProtection' => $portal_config['md_cache_filename_protect'],     'automaticSerialization' => $portal_config['md_cache_serialize']);$var_cache = new Cache_Lite($options);  if(isset($HTTP_GET_VARS['page'])){     $layout = intval($HTTP_GET_VARS['page']);}else{     $layout = $portal_config['default_portal'];}  if($portal_config['cache_enabled']){     $layout_row = $var_cache->get('lr' . strval($layout), 86400, 'layout');  }if(!$layout_row){     $sql = "SELECT template, name, forum_wide, view, groups FROM " . LAYOUT_TABLE . " WHERE lid = '" . $layout . "'";     if( !($layout_result = $db->sql_query($sql)) )     {         message_die(CRITICAL_ERROR, "Could not query portal layout information", "", __LINE__, __FILE__, $sql);     }     $layout_row = $db->sql_fetchrow($layout_result);     if(($layout_row['template']!='')&&$portal_config['cache_enabled'])     {         $var_cache->save($layout_row, 'lr' . strval($layout), 'layout');     }}$layout_template = $layout_row['template'];$layout_forum_wide_flag = ($layout_row['forum_wide']) ? FALSE : TRUE;  if ($userdata['user_id'] == ANONYMOUS){     $lview = in_array($layout_row['view'], array(0,1));}else{     switch($userdata['user_level'])     {         case USER:             $lview = in_array($layout_row['view'], array(0,2));             break;         case MOD:             $lview = in_array($layout_row['view'], array(0,2,3));             break;         case ADMIN:             $lview = in_array($layout_row['view'], array(0,1,2,3,4));             break;         default:             $lview = in_array($layout_row['view'], array(0));     }}  $not_group_allowed = FALSE;if(!empty($layout_row['groups'])){     $not_group_allowed = TRUE;     $group_content = explode(",",$layout_row['groups']);     for ($i = 0; $i <count>get('lr' . strval($layout), 86400, 'layout');         if(!$layout_row)     {         $sql = "SELECT template, forum_wide FROM " . LAYOUT_TABLE . " WHERE lid = '" . $layout . "'";         if( !($layout_result = $db->sql_query($sql)) )         {             message_die(CRITICAL_ERROR, "Could not query portal layout information", "", __LINE__, __FILE__, $sql);         }         $layout_row = $db->sql_fetchrow($layout_result);         if($portal_config['cache_enabled'])             $var_cache->save($layout_row, 'lr' . strval($layout), 'layout');     }     $layout_template = $layout_row['template'];     $layout_forum_wide_flag = ($layout_row['forum_wide']) ? FALSE : TRUE;}  //// Start output of page////$page_title = $lang['Home'];$page_title = $layout_row['name'];if($page_title == '') $page_title = $lang['Home'];define('SHOW_ONLINE', true);include($phpbb_root_path . 'includes/page_header.'.$phpEx);  // Tell the template class which template to use.$template->set_filenames( array( 'body' => 'layout/' . $layout_template ) );  //// Start Blocks//portal_parse_blocks($layout);  $template->pparse('body');  include($phpbb_root_path . 'includes/page_tail.'.$phpEx);?>    





We never play around with the .script so it puzzles me why all of the sudden it just stopped working. Is there a way to prevent this from occurring in the future? Like backup everything and restore?

I run a guild and on behalf of 60 people, I thank you sincerely for helping us out.

Re: Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 4:25 pm
Author: Souledge
Hmm it doesn't seem to paste right so I will make it so you can DL at filefront

http://files.filefront.com/portalphp/;9 ... einfo.html

Re: Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 6:17 pm
Author: DjPorkchop
you need to disable HTML in posts as an option when posting and using the code tags. <img>

PostPosted: Mon Feb 18, 2008 8:30 pm
Author: Souledge
Thanks for the tip, the code should display correctly now on the post =)

Re: Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 9:10 pm
Author: Helter
it is probably caused by a misbehaving block

what is the full url to your IM install?

Re: Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 9:39 pm
Author: tmotley
Not to be the bearer of bad news, but I'd venture that it's mostly host related.

1. I recognize the tech guys name.
2. I looked up your hosting provider.
3. I recently transferred from them because of their atrocious performance and lack of support.
4. Are you on the 'new platform?'

PostPosted: Mon Feb 18, 2008 9:59 pm
Author: sanji
It seems that no page can be displayed properly. For example, if you check http://wowmalice.com/web/album.php you also get a blank page, which takes hours to load. I would guess that the problem is clearly not portal.php, but it could be either the database, or a section of the code that is loaded on all pages.
Can you confirm that no page is accessible on your site?
Have you changed something 3 weeks ago? Updated new files, or changed file permission, or did anything on the database?

sanji

PostPosted: Mon Feb 18, 2008 10:01 pm
Author: sanji
And indeed, if you receive such answer from a technical support after 3 weeks, I would suggest you to immediately search for a new host...

sanji

Re: Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 10:11 pm
Author: Souledge
"HelterSkelter";p="31539" wrote:it is probably caused by a misbehaving block

what is the full url to your IM install?


Do you mean the directory?

It's web/portal on FTP.

PostPosted: Mon Feb 18, 2008 10:16 pm
Author: Souledge
We didn't do anything at all, it just all of the sudden stopped working.

Re: Can someone please look at my web/portal ?

PostPosted: Mon Feb 18, 2008 10:24 pm
Author: CaNNon
The only thing that I can find that works is html files like this: http://wowmalice.com/web/ctracker/index.html anything that connects to the db is messed up.

have you edited config.php? check to see if it matches your sites db login, also check to see if they updated the db about 3 weeks ago.

PostPosted: Mon Feb 18, 2008 10:29 pm
Author: Souledge
http://www.wowmalice.com/web/

I think thats the full URL
And they did upgraded to the "new platform" but it was fine after awhile with the new platform until recently.

PostPosted: Tue Feb 19, 2008 2:53 am
Author: sanji
Also, if you have an older backup of your database, you might want to try to use it - after of course making a separate backup of your database in use now...

sanji

PostPosted: Tue Feb 19, 2008 5:20 am
Author: Souledge
I have never touched the config file. I'm technically challenged lol so I would never mess around with anything that would potentially break the site.

I'm running out of ideas as to what I need to do to resolve this =/

Re: Can someone please look at my web/portal ?

PostPosted: Tue Feb 19, 2008 6:18 am
Author: tmotley
I feel your pain. I dealt with it for about 2 months and then finally changed hosts. At least you got a response from them. They would just close my support tickets without a response... <img>

PostPosted: Wed Feb 27, 2008 3:01 pm
Author: Souledge
I am sick of their lies and bullcrap. Stay away from Ipower. So after some lengthy discussion, they admitted that it was their MySQL server problem and that it would be resolved within 48 hours. I waited another 4 days and the issue still isn't fixed.

Does anyone know a good reliable hosting company? And can someone help me with the moving process? I have no idea what to do in terms of getting all the existing files from the old host onto the new one =/

This is driving me nuts. Have to deal with 1 month downtime and unable to do anything about it.

If you guys are interested, please let me know and I'll private message you the login information. Maybe you can look at the files to see if it's really the code side being messed up or their end having issues.

I will tip you off through paypal.

PostPosted: Wed Feb 27, 2008 3:07 pm
Author: Souledge
Thank you for contacting us

I am writing regarding your ticket # 4511851. I have checked the issues and found that there is a global issue regarding MySQL for new platform account. We are aware of the issue and working on it and it will be fixed within 48hrs. We thank you for your patience
during this delay.

Sincerely,

Shelton Kiplin.
Technical Specialist

Re: Can someone please look at my web/portal ?

PostPosted: Wed Feb 27, 2008 6:25 pm
Author: BitingMonkey
my integramod site is hosted through [url=http]total choice hosting[/url]. They have been pretty solid for me for the last couple of years. They seem smaller, but they don't overfill the servers too much from what I've seen. They just upgraded all of thier packages to be more competitive, so I got twice the server space, which is nice. They have expanded and at each turn kept me in the loop and helped with any problems. They are very good about customer service, which was important to me. I went with a super cheap 3 dollar unlimited transfer host and got burned they basically laughed at me when I called them on their shoddy service. I have had weird database issues in the past with mysql, and I was told that it was something they were doing on the host side and they went away quickly. In the 2 years I've been with totalchoice I have experienced this a couple of times I think, but pretty rare.

Re: Can someone please look at my web/portal ?

PostPosted: Wed Feb 27, 2008 6:35 pm
Author: tmotley
Boy does that sound sadly familiar...

I went to http://www.hostjury.com and was deeply saddened with what I was reading about ipower. They have some top rated webhosts on their list that includes the one I went with. My choice offered a full site transfer for free but I passed on it since I didn't want/need all of my site transferred.

I made a full database backup from within vdeck with phpmyadmin on my main 141 site. On my new site, I then installed a fresh 141 and imported users, forums, and such. The key is to get everything up and running on your new site, change your name servers over to your new host (through tucows if you used ipower), wait for that to take effect, make sure everything is still kosher, and then talk to ipower about transferring your domain from tucows to some place away from ipower.

I have been extremely pleased with my hosting experience through my new host so far.

PostPosted: Thu Feb 28, 2008 1:50 pm
Author: Fallen
i like http://www.bluhost.com Multiple domain hosting great packages and great service. To be honest I would suggest it to all IM peeps. Have multiple domains on one account and manage from one. Schweet
.

Re: Can someone please look at my web/portal ?

PostPosted: Thu Feb 28, 2008 4:36 pm
Author: DjPorkchop
I had several issues in the past similar to the issues you are having. Host after host blamed the .script. Since then, i have chose a new host....ME! lol

So I rented a box and set it up and since have had not 1 single issue ever. Imagine that. I hope in your choice you find a good host. Integramod is not to blame 9 out of 10 times. It is infact the host. I host 8 Integramod sites and not a 1 of them have issues.