vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   WebTemplates 3.5.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=103076)

tokenyank 05-20-2008 11:45 PM

I know it's late and I'm probably missing something stupid, but I just installed/tried this and am getting:
Quote:

Forbidden
You don't have permission to access /forums/admincp/wt_wt.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The file in question, I've chmod'd 777 just incase, but it's still not working. I'll revisit this after Iv'e had some sleep, hopefully in the meantime someone can shed some light on why I'm getting this error! (yes, i did upload the structure properly! :) )

Thanks in advance!

Logician 05-21-2008 09:19 AM

Quote:

Originally Posted by tokenyank (Post 1526280)
I know it's late and I'm probably missing something stupid, but I just installed/tried this and am getting:


The file in question, I've chmod'd 777 just incase, but it's still not working. I'll revisit this after Iv'e had some sleep, hopefully in the meantime someone can shed some light on why I'm getting this error! (yes, i did upload the structure properly! :) )

Thanks in advance!

It sounds like a server permission issue to me. You checked chmod'ing but it can be about the user account uploading the file. Please make sure you uploaded (and owned) with a FTP account which is used to upload your other vb files in the folder.

It is definetely not a hack issue. ;)

tokenyank 05-21-2008 12:52 PM

Hmm... I've reupped the files and I do own the account but still getting the same error...

chmodded to 666 664 755 777 but all still give same error

same again after I reimported xml.

/confused!

tokenyank 05-21-2008 01:09 PM

Ok, figured it out...

Appearently putting php makes it cry a little bit.

Code:

<?php
// # THE FOLLOWING BLOCK IS USED TO RETRIEVE AND DISPLAY LINK INFORMATION.
// # PLACE THIS ENTIRE BLOCK IN THE AREA YOU WANT THE DATA TO BE DISPLAYED.

// # duser key:
$UserKey ="blahblah";

// # MODIFY THE VARIABLES BELOW:

// # The following variable defines how many links to display per page
$LinksPerPage = "25";

// # The following variable defines how many columns are used to display categories
$CategoryColumns = "2";

// # The following variable defines whether links are opened in a new window
// # (1 = Yes, 0 = No)
$OpenInNewWindow = "0";

// # DO NOT MODIFY ANYTHING ELSE BELOW THIS LINE!
// ----------------------------------------------

$QueryString  = "script=php";
$QueryString .= "&UserKey=" .urlencode($UserKey);
$QueryString .= "&CategoryColumns=" .urlencode($CategoryColumns);
$QueryString .= "&LinksPerPage=" .urlencode($LinksPerPage);
$QueryString .= "&OpenInNewWindow=" .urlencode($OpenInNewWindow);
$QueryString .= "&siteid=529" ;

foreach ($_GET as $key => $value) {
        $value = urlencode(stripslashes($value));
        $QueryString .= "&$key=$value";
}

// congfigure our headers
if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) {
        if(!@readfile("http://www.domain.com?".$QueryString)) {
                echo "Error processing request";
        }
}
elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) {
        if(!($content = @file("http://www.domain.com?".$QueryString))) {
                echo "Error processing request";
        }
        else {
                echo @join('', $content);
        }
}
elseif(function_exists('curl_init')) {
        $ch = curl_init ("http://www.domain.com?".$QueryString);
        curl_setopt ($ch, CURLOPT_HEADER, 0);
        curl_exec ($ch);

        if(curl_error($ch))
                echo "Error processing request";

        curl_close ($ch);
}
else {
        echo "Your web hosting provider has disabled all functions for handling remote pages pages and as a result the LinksPile software will not function on your web site.";
}
echo "<input type='hidden' name='userkey' value='".$UserKey."'>";
?>

Since this was the only thing I was trying to add, it always 'broke'... Adding plain txt or html works fine.

I've tried adding the above as straight php and in the phpinclude. Since it's not working, I'm assuming it has to do with the fopen and/or the curl commands and the vB sanitizer is not liking it?

hobbybox 05-21-2008 04:41 PM

I installed this on a new site (have used on others with no problems) - for some reason the custom pages stretch across the whole screen instead of staying within the body - I have used the 'default basic theme' on other sites with no alterations and never had a problem - any idea what im doing wrong?

1st picture is the normal site - 2nd picture is what happens with custom page.

Logician 05-21-2008 05:24 PM

Quote:

Originally Posted by hobbybox (Post 1527051)
I installed this on a new site (have used on others with no problems) - for some reason the custom pages stretch across the whole screen instead of staying within the body - I have used the 'default basic theme' on other sites with no alterations and never had a problem - any idea what im doing wrong?

1st picture is the normal site - 2nd picture is what happens with custom page.

It is your custom skin's vb header/footer/css that is not coded well to go along with other applications that are inheriting it. You should check their syntax. If you switch to default webtemplate header/footer, the problem will go.

hobbybox 05-21-2008 05:56 PM

just started to work with no problems - not sure if it was CACHE or not...

I do have another question though....

I would like to customer the top bar that goes around the page - On the line that shows the page name I would like to add an image to the right and left side to give the box rounded corners...is it possible for you to give me the code to change the default basic them so I can add the images for rounded top corners?

onnenkolikko 05-27-2008 02:55 PM

I get:

Database error in vBulletin 3.7.0:

Invalid SQL:
navbar;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'navbar' at line 1
Error Number : 1064

I'm using vbseo 3.2.0 RC5. Could that do the error?

Edit: The error comes when I try enter mysite.com/view.php?pg=test
When I go to mysite.com/view_test.htm i get page not found

Logician 05-27-2008 04:37 PM

Quote:

Originally Posted by onnenkolikko (Post 1533005)
I get:

Database error in vBulletin 3.7.0:

Invalid SQL:
navbar;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'navbar' at line 1
Error Number : 1064

I'm using vbseo 3.2.0 RC5. Could that do the error?

Edit: The error comes when I try enter mysite.com/view.php?pg=test
When I go to mysite.com/view_test.htm i get page not found

Apply this fix and see if it will help:
https://vborg.vbsupport.ru/showpost....&postcount=855

onnenkolikko 05-27-2008 05:06 PM

Now it works with view.php?pg=test but now with view_test.htm. I have SEO Friendly URLs turned on and the .htaccess file is edited..... I would be very happy if you have any idea how to get seo links working. Thank you.


All times are GMT. The time now is 06:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01688 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete