PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Problem with Install (http://www.photopost.com/forum/photopost-pro-installation-upgrades/109833-problem-install.html)

Nomi September 5th, 2004 01:48 AM

Problem with Install
 
I make it fine to step 3 of the installation. I put in all the information including that I am going to integrate with phbbs 2.0

Hit Complete Installation and receive the error:

Warning: main(/shaderscafe/photopost/languages/english/pp-inc.php): failed to open stream: No such file or directory in /homepages/46/d101686943/htdocs/shaderscafe/photopost/pp-inc.php on line 63

Fatal error: main(): Failed opening required '/shaderscafe/photopost/languages/english/pp-inc.php' (include_path='.:/usr/local/lib/php') in /homepages/46/d101686943/htdocs/shaderscafe/photopost/pp-inc.php on line 63

Not sure what to do from here.

- Noel

Chuck S September 5th, 2004 08:19 AM

When you installed the program you did not input the proper path to the install

You can FTP in and edit the variable below

$PP_PATH="/shaderscafe/photopost";

change to

$PP_PATH="/homepages/46/d101686943/htdocs/shaderscafe/photopost";

Nomi September 5th, 2004 12:38 PM

I changed the variable on line 60 (only instance I could find)

Still receiving this when I try to go to adm-index.php

Fatal error: main(): Failed opening required '/shaderscafe/photopost/languages/english/pp-inc.php' (include_path='.:/usr/local/lib/php') in /homepages/46/d101686943/htdocs/shaderscafe/photopost/pp-inc.php on line 63

- Noel

Nomi September 5th, 2004 12:49 PM

Looks like I found the issue :) It all seems to be working now.

- Noel

Chuck S September 5th, 2004 12:49 PM

The file to edit is config-inc.php line 18.

Upload a clean pp-inc.php file as you did not want to edit that

Nomi September 5th, 2004 01:11 PM

It all seems to be working except I don't seem to understand how to integrate it with phpbb 2.0.

I have Use Integrated forum Stylesheets set to yes. But I don't see anything. I'm sure it is something simple, but what do I do now? :)

- Noel

Chuck S September 5th, 2004 02:26 PM

Your install looks fine to me. It has the colors of the forum.

You might want to edit the stylesheet image calls from a relative path

background-image: url(templates/Aeolus/images/bg_cat4.gif);

To a full url so any images called by Photopost will be seen on Photopost.

background-image: url(http://shaderscafe.com/forums/templa...es/bg_cat4.gif);

Take not also if you have some fancy template sets in phpBB as it seems that one does. You will need to alter your photopost ppopen and ppclose templates to allow for that. Make sure to backup anything in case you mess up. I cant test these as I do not run phpbb but this should work for that stylesheet

Something like this

ppopen would be something like this

<?php

$ppopen = <<<PPPRINT

<table class="{$Style['tablesurround']}" cellpadding="1" cellspacing="1" border="0" width="{$Globals['tablewidth']}" align="center">

<tr>
<td width="23" align="right" valign="bottom"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/top_left.gif" width="23" height="36" border="0" alt="" /></td>

<td width="100%" align="left" valign="middle" background="templates/Aeolus/images/top_center.gif"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="http://shaderscafe.com/forums/templates/Aeolus/images/spacer.gif" width="1" height="11" border="0" /></td></tr>





<tr>
<td>
<table cellpadding="2" cellspacing="1" border="0" width="100%" class="{$Style['tableborders']}">

PPPRINT;

$ppopenside = <<<PPPRINT

<table class="{$Style['tablesurround']}" cellpadding="1" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td width="23" align="right" valign="bottom"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/top_left.gif" width="23" height="36" border="0" alt="" /></td>

<td width="100%" align="left" valign="middle" background="templates/Aeolus/images/top_center.gif"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="http://shaderscafe.com/forums/templates/Aeolus/images/spacer.gif" width="1" height="11" border="0" /></td></tr>
<tr>
<td>
<table cellpadding="2" cellspacing="1" width="100%" class="{$Style['tableborders']}">

PPPRINT;

?>

ppclose template would be something like this

<?php

$ppclose = <<<PPPRINT

<tr>
<td width="10" align="right" valign="top"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
<td width="100%" background="templates/Aeolus/images/bottom_center.gif"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td width="10" align="left" valign="top"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>

PPPRINT;

$ppcloseside = <<<PPPRINT

<tr>
<td width="10" align="right" valign="top"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/bottom_left.gif" width="10" height="10" border="0" alt="" /></td>
<td width="100%" background="templates/Aeolus/images/bottom_center.gif"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
<td width="10" align="left" valign="top"><img src="http://shaderscafe.com/forums/templates/Aeolus/images/bottom_right.gif" width="10" height="10" border="0" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>

PPPRINT;

?>

Nomi September 5th, 2004 03:58 PM

Ok so if I want something like you guys have where the random images and photos and such show up on the forums, I am going to have to do that as a custom design for our forum?

I thought the integration would setup where the forums would display the images and such. Is that not the case? Either way I'll figure it out :) Just want to know how much work I'm in for here.

- Noel

Chuck S September 5th, 2004 07:04 PM

Nope that thumbnail block on our forums is a hack

Hacks can be found at http://www.photopostdev.com


All times are GMT -5. The time now is 05:01 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