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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 24th, 2005, 02:29 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Exclamation Please Help!!

I ran the upgrade of my 4.7 PP db, and after some hairy errors that I got through, my phot gallery now noo longer has ANY of the styles that the previosu version had from my vB forums!

Please HELP! (www.disneyworldtrivia.com/forums and www.disneyworldtrivia.com/photos)

Thanks in advance!
lmongello is offline   Reply With Quote
Old September 24th, 2005, 02:44 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Using Admin CP to try and integrate, now get this error:

Warning: fopen(/config-int.php): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/photos/adm-misc.php on line 2447

Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/photos/adm-misc.php on line 2448

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/photos/adm-misc.php on line 2449

And the adm-misc does have 777 permissions on it



The images are also NOT showing up on the forum home page, and instead come in as text reading (e.g.)
/home/virtual/site1/fst/var/www/html/photos/data/507/XXXXX.JPG

Last edited by lmongello; September 24th, 2005 at 04:13 PM.
lmongello is offline   Reply With Quote
Old September 24th, 2005, 06:14 PM   #3 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Did you run each of the upgrades in the correct order? Check your config-inc.php file and make sure that your variables are properly set, including the $PP_PATH variable - it appears the scripts cannot find the proper locations as the variable appears to be set to ""

You'll need to make sure you upgrade to the current inc_features.php script in the PP distribution - upgrading from that early of a version means the file locations have changed.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 25th, 2005, 12:12 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
I took the config_inc.php file from the zip download and inputted the correct variables (including the $pp_path which is: /home/virtual/site1/fst/var/www/html/photos - as taken from the existing file on the site). I re-uploaded that and still have the same problems.

As far as the inc_features.php goes, I followed teh upgrade instructions (using upgrade.php). What file locations would have changed, and where do i need to make any manual changes?

Thanks for the help!!!
lmongello is offline   Reply With Quote
Old September 25th, 2005, 12:54 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Did you upload both config files? There is a new second config file that needs to be uploaded

The config-int.php file must exist and have the proper variables in it to load the vb3 header etc
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2005, 09:01 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
OK... slowly but surely getting there... uploaded the config-int.php again and it's OK - sort of. Please go to www.disneyworldtrivia.com/photos and see why the gallery looks like such a mess.

As for the random images on the forums header, they still do not appear and instead only show the path. I double checked the paths and info in the config-inc.php and they appear corretc, unless there has been some type of change in file locations during my upgrade from 4.7

(// Path to your PhotoPost installation - no end slashes
$PP_PATH = "/home/virtual/site1/fst/var/www/html/photos"
lmongello is offline   Reply With Quote
Old September 26th, 2005, 10:08 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Ugh.. now i do a search for an image, click onthe thumbnail and get this:

Parse error: parse error, unexpected T_SL in /home/virtual/site1/fst/var/www/html/photos/templates/vb3enhanced/quickcom.tmpl on line 101

Getting desperate... Thanks in advance for the help
lmongello is offline   Reply With Quote
Old September 26th, 2005, 10:10 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Ok... just tried changing values inthe Photopost Admin interface for the integration, to take off the vb3. I got an error and it didn't turn it off. I went into the file and turned all values to off for the vB3 integration. Now the search works, but i lose any of the styles. Ugh.
lmongello is offline   Reply With Quote
Old September 26th, 2005, 10:46 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Well the quickcom.tmpl make sure this code is exact copy over what i have here

Code:
Content visible to verified customers only.
As far as styles I cant comment until you turn in on
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2005, 10:52 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
OK, please forgive my stupidity if I did this incorrectly. I added the text you sent me here:

<?php

if ( VB35 == "on" ) {
$comq .= <<<PPPRINT
<form name="vbform" method="post" action="{$Globals['maindir']}/comments.php" onsubmit="return vB_Editor['{$editorid}'].prepare_submit(0, 5)">
PPPRINT;
}
else {
$comq .= <<<PPPRINT
<form name="vbform" method="post" action="{$Globals['maindir']}/comments.php" onsubmit="return validatePost(this, this.subject.value, $vboptions[postminchars], $vboptions[postmaxchars]);" onreset="vB_RESET(this);">
PPPRINT;
}

$comq .= <<<PPPRINT
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<thead>


$comq = <<<PPPRINT
<!-- BEGIN TEMPLATE: quickcom.tmpl -->
<br />
<form name="theform" method="post" action="{$Globals['maindir']}/comments.php">
$ppopen
<tr>


I also turned on the vB integration (noting again that I have to do it by editing the file manually and reuploading it, rather than from the PP Admin area)
lmongello is offline   Reply With Quote
Old September 26th, 2005, 11:06 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
VERY SIMPLE

In admin forum options in photopost turn ON use forum style
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2005, 11:12 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
I did that, but it comes back with an error and reloads the page without the changes:

Warning: fopen(/home/virtual/site1/fst/var/www/html/photos/config-int.php): failed to open stream: Permission denied in /home/virtual/site1/fst/var/www/html/photos/adm-misc.php on line 2447

Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/photos/adm-misc.php on line 2448

Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site1/fst/var/www/html/photos/adm-misc.php on line 2449
lmongello is offline   Reply With Quote
Old September 26th, 2005, 11:31 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
You have not set your config files writable 666 per the installation instructions
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2005, 11:38 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Sorry.. didn't see that in the upgrade text doc.

OK... they are set and now I can make the changes through the Admin interface... however, the layout is still screwy and the forums ramdom images dont work.

Sorry again for the dopey questions - i really appreciate the help!!
lmongello is offline   Reply With Quote
Old September 26th, 2005, 11:53 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
You do not have forumstyle set to yes in forum options in admin this is not set in a config file but is written to the database

As far as your forum photo block your using an old hack not the new included inc_features.php in our distribution

The instructions for installing this are located in our documentations forum
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2005, 12:21 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
1) That worked... sort of... Now when you click on a thumbnail, you get:

Parse error: parse error, unexpected T_SL in /home/virtual/site1/fst/var/www/html/photos/templates/vb3enhanced/quickcom.tmpl on line 101


2) I compared the inc_features files in the distro vs. the server and they match.

The file config is:

require "config-int.php";

// If you have placed PhotoPost into a seperate database, you will need to
// uncomment these lines to connect to the PhotoPost database. It is suggested
// that you install PP into the same database as vB for better performance.
//
// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
//
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
//mysql_select_db ("pp_database")or die("Could not select photopost database");

// Number of photos to display
$num_display = 4;

// Number of columns (1 for vertical)
$columns = 4;

// which type of images do you want to show (random, most_view, latest)
$q_switch = "random";

// == END CONFIGURATION ==


Was there something I needed to change elsewhere? My header includes the "$photopostfeature" variable and my index has the include('../photos/inc_photopost.php'); line in it.
lmongello is offline   Reply With Quote
Old September 26th, 2005, 01:15 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
exactly inc_photopost.php is a hack file the new photo block is inc_features

If you read the documentation forum thread on vb3 main index you will see what to do

Now your /template/vb3enhanced/quickcom.tmpl make it this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 26th, 2005, 01:38 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
Thanks for all of your patience and help!! I think I got it!

Two quick little questions:

1. How can i remove the border of the table on the forums showing featured photos

2. When viewing the image in the galleries, it shows the previous and last images thumbs above the image, but for some reason, it also shows a thiumb of the current image being viewed, making it 5 thumbs across instead of 4. How can I get rid of the current image thumb? (e.g. http://www.disneyworldtrivia.com/pho...to=126&cat=503)

Thanks again!! (and again and again...) LOL
lmongello is offline   Reply With Quote
Old September 26th, 2005, 02:24 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 96
I think I may have solved it! You guys have been absolutely OUSTANDING with the support!! Bravo! the drinks are on me!!!
lmongello is offline   Reply With Quote
Old September 26th, 2005, 02:43 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
no problem
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:52 PM.

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