PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs - vBulletin 3.6x (http://www.photopost.com/forum/bugs-vbulletin-3-6x/)
-   -   Warning failed to open stream global.php (http://www.photopost.com/forum/bugs-vbulletin-3-6x/134523-warning-failed-open-stream-global-php.html)

NICEGUY December 5th, 2007 07:23 PM

Warning failed to open stream global.php
 
I have installed the latest Gallery for my forum, fresh install and every time the pluggin is enabled i get the follow error. Can someone point me in the right direction please.

vBulletin 3.6.8
Powered by PhotoPost vBGallery v2.4
Powered by vBadvanced CMPS v3.0 RC2

Quote:

Warning: require(/home/xxxx/public_html/forum/includes/vbgallery/style_fetch.php) [function.require]: failed to open stream: No such file or directory in /global.php(237) : eval()'d code on line 17

Fatal error: require() [function.require]: Failed opening required '/home/xxxx/public_html/forum/includes/vbgallery/style_fetch.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxx/public_html/forum/global.php(237) : eval()'d code on line 17

Zachariah December 5th, 2007 08:35 PM

I see in your link:
/home/xxxx/public_html/forum/includes

The package had a "forums" folder not "forum" like you have it.
- I would say you need to take the content of the download /forums/ and upload it to the root of your vBulletin install folder /home/xxxx/public_html/forum

Your missing:
/home/xxxx/public_html/forum/includes/vbgallery

NICEGUY December 5th, 2007 09:06 PM

Hi Zach,

i took all the contents of:

photopost_vbgallery_2_4\forums

and upload them into my:

/public_html/forum/

I do see:

/public_html/forum/includes/vbgallery/

with 18 files in it.

Luciano December 5th, 2007 09:41 PM

as long its fresh install.. try without cmps.. just an idea..

Zachariah December 5th, 2007 10:07 PM

I just did a new install, no problems.
- Forums, gallery, CMPS
- Forums, CMPS, gallery

vBulletin 3.6.8 SP2
Powered by PhotoPost vBGallery v2.4
Powered by vBadvanced CMPS v3.0 RC2

I would try to re-upload all of the files.
- Ascii: php, js, html, css - anything that is a text file
- Binary: gif, jpg, png - any media file

Code:

Content visible to verified customers only.
[ x ] Begin the installation process.

NICEGUY December 5th, 2007 11:02 PM

gallery is up and working, the only issue arises on the CMPS page.

Soon as i enable the pluggin it cans the home page. Installation seemed to go flawless.

I have been working with photopost_vbgallery_2_3.zip but i seen 2.4 was in the downloads today.

Still no dice. I will pm you the site link.

NICEGUY December 6th, 2007 11:00 AM

Complete reinstall now using vb 2.3, same issue, same error.

NICEGUY December 6th, 2007 01:12 PM

Seeing as i could replicate the error with 2.3, i un-installed and did another fresh install of 2.4 even under the stock Gallery directory.

As soon as the pluggin is enabled it breaks my CMPS page with the same error above.

Zachariah December 6th, 2007 02:46 PM

Quote:

Originally Posted by NICEGUY (Post 1211681)
Seeing as i could replicate the error with 2.3, i un-installed and did another fresh install of 2.4 even under the stock Gallery directory.

As soon as the pluggin is enabled it breaks my CMPS page with the same error above.

Plugin, you talking the CMPS module block to push gallery images to the CMPS page ?

- If so there is a new version need of all hacks for 2.4.
[vB 3.6.8] Module CMPS3 vBGallery 2.4.zip

REFF:
http://www.photopost.com/forum/showthread.php?t=132046

NICEGUY December 6th, 2007 02:52 PM

1 Attachment(s)
Zachariah, i am referring to this:
PhotoPost vBGallery 2.4 PhotoPost vBGallery 2.4

Once i disable that in the pluggin area the CMPS works again.

Zachariah December 6th, 2007 03:13 PM

Have you removed / disable all old gallery modules ?
- vBGallery 2.4 changed on the hacks and the old code will cause errors.

$vba_options changes to $ppg_oprions.

Try to disable the CMPS blocks that pull any gallery info.

NICEGUY December 6th, 2007 04:59 PM

Quote:

Originally Posted by Zachariah (Post 1211691)
Have you removed / disable all old gallery modules ?
- vBGallery 2.4 changed on the hacks and the old code will cause errors.

$vba_options changes to $ppg_oprions.

Try to disable the CMPS blocks that pull any gallery info.

Zach, there are no newly added modules as this site has never ran a gallery before.
So there are no CMPS blocks associated or pointing to the gal.

This is the current cmps blocks.

Quote:

[Affiliate Ads] Template (custom one)
[Buddy List] PHP File
[Current Poll] PHP File
[Mini Calendar] PHP File
[News] PHP File
[News Archive] PHP File
[Online Users] PHP File
[Quick Moderation] PHP File
[Recent Threads] PHP File
[Search Forums] Template
[Site Navigation] PHP File
[Stats] PHP File
[Today's Birthdays] PHP File
[Welcome Block]
This is also a fresh CMPS install as of 2 days ago, it is currently working fine providing the gallery pluggin is not enabled.

I have tried upload the contents again with a different client, no dice still.

Zachariah December 6th, 2007 05:20 PM

Shoot me some access via PM
- FTP / AdminCP

NICEGUY December 6th, 2007 06:13 PM

Quote:

Originally Posted by Zachariah (Post 1211696)
Shoot me some access via PM
- FTP / AdminCP


Done :D

Zachariah December 7th, 2007 04:09 PM

I have it working on your site I know the problems and solution, but not an explanation why it is acting up on your system.

I had to move a few plugins that are picked up on the server and move them within the plugin system. The code was not changed only moved from the php files on the server.

- cache_templates
- global_complete
- global_setup_complete
- style_fetch

The gallery and the forum will work with out the changes I made but the CMPS dies.

Your good to go.
I'll investigate further.

Zachariah December 7th, 2007 04:30 PM

To test if it may be other issues:

- I would make a /temptest/ folder and do a test install of vbulletin, cmps, gallery in a new database. I have had a few uninstalled add-on or old code drifting around in my setup and not be nice to the rest of my site.


All times are GMT -5. The time now is 12:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97