|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hi, I followed the information for a PHP page here: http://www.vbulletin.com/forum/showt...P-or-HTML-File Quote: ob_start(); include('path/to/this/file/myfile.php'); $includedphp = ob_get_contents(); ob_end_clean(); My file looks like this: Quote: ob_start(); include('/home/oztvtalk/www/v2/header.php'); $includedphp = ob_get_contents(); ob_end_clean(); I created the plugin, as per the instructions, but I think the 'path is playing up, as I receive this error now: Quote: Warning: include(/home/oztvtalk/www/v2/header.php) [function.include]: failed to open stream: No such file or directory in [path]/global.php(400) : eval()'d code on line 2 Warning: include() [function.include]: Failed opening '/home/oztvtalk/www/v2/header.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in [path]/global.php(400) : eval()'d code on line 2 The only thing difference is that the header file (which I'm getting from wordpress header), is located at http://v2.mydomain.com and the forum is located at http://www.mydomain.com/vb/testvb I am running vBulletin 3.8.6, hooks / plugins are activated, so I'm pretty sure it is just the path? Any Ideas? EDIT: Add on, the files, full paths are located here: /home/oztvtalk/www/www/vb/testvb (forum) & /home/oztvtalk/www/v2/header/index.php. __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |