Closed Thread
Results 1 to 1 of 1

Thread: 100 credits to find the error

  1. #1
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    100 credits to find the error

    PHP Code:
                case 'htaccess':
                    
    $this->write_type 'htaccess';
                    
    $display_vars['title'] = 'ACP_HTACCESS';
                    
    $user->lang['ACP_HTACCESS_EXPLAIN'] .= '<br/><hr/><b>' $user->lang['ACP_PHPBB_SEO_VERSION'] . ' : ' $this->modrtype_lang['link'] . ' - ' $phpbb_seo->version ' ( ' $this->modrtype_lang['forumlink'] . ' )</b><br/><br/>';
                    
    $display_vars['vars'] = array();
                    
    $display_vars['vars']['legend1'] = 'ACP_HTACCESS';
                    
    $display_vars['vars']['save'] = array('lang' => 'SEO_HTACCESS_SAVE''validate' => 'bool''type' => 'radio:yes_no''explain' => true,);
                    
    $display_vars['vars']['more_options'] = array('lang' => 'SEO_MORE_OPTION''validate' => 'bool''type' => 'radio:yes_no''explain' => true,);
                    
    $this->new_config['save'] = false;
                    
    $cfg_array = (isset($_REQUEST['config'])) ? utf8_normalize_nfc(request_var('config', array('' => ''), true)) : $this->new_config;
                    
    $this->new_config['more_options'] = isset($cfg_array['more_options']) ? $cfg_array['more_options'] : false;
                    
    $this->new_config['slash'] = isset($cfg_array['slash']) ? $cfg_array['slash'] : false;
                    
    $this->new_config['wslash'] = isset($cfg_array['wslash']) ? $cfg_array['wslash'] : false;
                    
    $this->new_config['rbase'] = isset($cfg_array['rbase']) ? $cfg_array['rbase'] : false;

                    if (
    $this->new_config['more_options']) {
                        
    $display_vars['vars']['slash'] = array('lang' => 'SEO_HTACCESS_SLASH''validate' => 'bool''type' => 'radio:yes_no''explain' => true,);
                        
    $display_vars['vars']['wslash'] = array('lang' => 'SEO_HTACCESS_WSLASH''validate' => 'bool''type' => 'radio:yes_no''explain' => true,);
                        
    $phpbb_path trim($phpbb_seo->seo_path['phpbb_script'], '/');
                        if (!empty(
    $phpbb_path ) && !$phpbb_seo->seo_opt['virtual_root']) {
                            
    $display_vars['vars']['rbase'] = array('lang' => 'SEO_HTACCESS_RBASE''validate' => 'bool''type' => 'radio:yes_no''explain' => true,);
                        }
                    }
                    
    // Dirty yet simple templating
                    
    $user->lang['ACP_HTACCESS_EXPLAIN'] .= $this->seo_htaccess();
                    
                break;
                default:
                    
    trigger_error('NO_MODE'E_USER_ERROR);
                break; 
    Something in there is causing a 400 bad request on x10s servers. What?
    Edit:
    fixed
    Last edited by galaxyAbstractor; 05-05-2008 at 10:41 AM. Reason: Automerged Doublepost

Closed Thread

Similar Threads

  1. Internal Serve Error
    By xaakx in forum Free Hosting
    Replies: 6
    Last Post: 02-03-2008, 08:02 AM
  2. XHTML help please
    By mac173 in forum Graphics & Webdesign
    Replies: 3
    Last Post: 01-29-2008, 11:39 AM
  3. Error
    By Makke in forum Free Hosting
    Replies: 1
    Last Post: 11-02-2007, 04:41 PM
  4. An error in credits ?
    By eminemix in forum Feedback and Suggestions
    Replies: 1
    Last Post: 10-25-2007, 09:23 AM
  5. Internal Sever Error
    By Gun Mac in forum Free Hosting
    Replies: 0
    Last Post: 09-19-2005, 03:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers