PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 17th, 2009, 03:32 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2009
Posts: 3
Error at top of page

Hi,

Quick question I am currently getting this error:

Quote:
Warning: stristr() [function.stristr]: Empty delimiter in /home/mini/photogallery/public/pp-inc.php on line 4512
I also noticed that the signatures are not being parsed correctly. Any ideas?

Photopost 6.2, Vbulletin 3.8.1, Vbulletin Blog 1.05, Nginx, Mysql 5.0.x, php 5.2.8 + PHP-FPM patch.

Thanks,
Pierce
Pierce is offline   Reply With Quote
Old February 17th, 2009, 09:43 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Code:
Content visible to verified customers only.
PHP: Superglobals - Manual

Looks to me like your has an issue with superglobals. Your host might be able to tell you what might help there or fix the server.

As far as signatures this will help.

http://www.photopost.com/forum/1240966-post16.html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 17th, 2009, 02:29 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2009
Posts: 3
Signatures are working fine now.

As for the "$_ENV['HOSTNAME']" has no value. I am unsure why as the server has a hostname. I am a little confused as to why it is used as I can set the hostname of the server to anything... including "bleh"

E.G

asdf:~# hostname bleh
asdf:~# hostname
bleh
asdf:~#

So I just added this line to config-inc.php: $_ENV['HOSTNAME'] = 'bleh';

Which matches the server config.

All seriousness Ive put it back to a domain-name but I do not understand why this is used?

Pierce
Pierce is offline   Reply With Quote
Old February 17th, 2009, 03:03 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
You can read about superglobals server setup etc but essentially the code your looking at in photopost where the error is has to do with grabbing the online users and there information,
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 17th, 2009, 04:48 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2009
Posts: 3
I need to read more about nginx.

For some reason I just cannot get it to set the hostname no matter what. Anyways I have solved it by forcing it in the config script.

Pierce
Pierce is offline   Reply With Quote
Old February 17th, 2009, 08:32 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
Thats good so you must run your own server.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 21st, 2009, 01:13 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 15
Send a message via AIM to Macindy
Hi Pierce!

I have quite the same config. nginx/php-fpm etc. and the same error on top.
Is the only solution to set the variable? Can you give me some help, please?

Thanks
Macindy is offline   Reply With Quote
Old November 21st, 2009, 06:37 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,703
If your trying to contact a specific user try the PM system

If he has not elected to be notified of replies to posts he may never see you responded here.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add my own area to the top of every page? golfmonke Photopost Pro How Do I...? 5 July 9th, 2008 02:52 PM
Weird text at top of page ozmazdaclub Photopost Pro Installation & Upgrades 1 February 17th, 2007 05:12 AM
Error on top of page after upgrade 2.5 -> 2.6 PowerBook Classifieds Installation & Upgrades 4 January 1st, 2007 06:20 PM
adding text at top of page susanreno General Discussion 9 December 6th, 2004 06:33 PM
Adding a Link to the top of every page Quincy Wisdom General Discussion 4 September 8th, 2004 10:05 AM


All times are GMT -5. The time now is 02:08 PM.

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