إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 04-27-2010, 11:10 AM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,610
عدد الـنقاط :3341
 تقييم المستوى : 2139

What have i to include into my own files, to load the complete vB4 Backgroud, so that i can use also the autoloader from vB4?
I tried:
PHP Code:
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'mypage');
define('CSRF_PROTECTION', true);
define('CONTENT_PAGE', false);

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
$class = new vB_ragtek_class();

The class is placed in vb/ragtek/class.php but it can't be find.

Then i tried
PHP Code:
require_once('./global.php');

require_once
DIR . '/vb/exception.php';

require_once
DIR . '/vb/exception/Reroute.php';
require_once
DIR . '/vb/exception/accessdenied.php';
throw (new
vB_Exception_AccessDenied());

and here i got
Quote:
Fatal error: Class 'vB_Phrase' not found in C:\Programme\Zend\Apache2\htdocs\vb42\vb\exception \accessdenied.php on line 38

I know that this would be something for vbulletin.org but i think that the vB developers could help me here earlier, because on vb.org you'll get maybe a answer wich helps you, but which isn't optimal or is a quick and dirty way....

thx
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة



الساعة الآن 03:20 PM


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir

RSS RSS 2.0 XML MAP HTML