PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   strange problem after windows php upgrade / admin panel access (http://www.photopost.com/forum/photopost-pro-installation-upgrades/111150-strange-problem-after-windows-php-upgrade-admin-panel-access.html)

vwsport.com December 26th, 2004 12:57 AM

strange problem after windows php upgrade / admin panel access
 
I noticed the message before this about admin panel access. I have the same problem, but I don't think I should join that message as I feel my problem is different. today after upgrading php to 4.3.10 I noticed that the admin panel did not show up when I was logged in. everything has been working for months. so I took this as a good time to upgrade. I followed the upgrade perfectly, and still no luck. I don't think its a cookie problem as I looked over all the settings and they match up. if you go into phpbb and goto photopost you stay logged in, so I think the cookies are working okay. But I am lost, I have no idea what else to look at. I tried to delete the user groups data and re add it w/o any luck. This is running on a win2k3 server w/ php 4.3.10 running in fastcgi mode. let me know if you need any other info. thanks for the great product!

Dan

vwsport.com December 26th, 2004 04:00 AM

another bug I just notced was under keyword all photos are showing "array", after seeing that I ran a search and cannot find any files w/ key words I know would be listed. thanks for any info!

Dan

Chuck S December 26th, 2004 08:41 AM

Okay two fixes as this is related to the PHP update which is wreaking havoc everywhere.

Open up your phpbb2.php file in the forums subdirectory of our product

Find

$md5cookpass="";

make it

$md5cookpass=""; $ubbgroups = array();

Basically you can place that array line anywhere up the top of the authenticate function below the $Global calls

Save and upload that file

Open the showphoto.php file and find this line

if ( !isset($cat) ) $cat = $dbcat;
$title = stripslashes( $title );
$keywords = stripslashes( $keywords );

add above

$keywords = array ();

vwsport.com December 26th, 2004 01:13 PM

Thank you for the quick reply! I just double checked and phpbb2.php was already modified, i assume you guys updated the zip file? also I tried the $key word fix with out any luck, I assume it should look like this ?

$keywords = array ();
if ( !isset($cat) ) $cat = $dbcat;
$title = stripslashes( $title );
$keywords = stripslashes( $keywords );
$desc = stripslashes( $desc );

? I can care less about the keywords for now, but I still cannot get into the admin panel. any other ideas? btw my pic library is at http://forum.vwsport.com/pics thanks for any help!

Dan

Chuck S December 26th, 2004 01:48 PM

This will take time.

The fix Michael did add to the build and did work on the only customer that had reported this so far. As more systems are being transitioned to this php version 4.3.1. RC10 we are seeing a couple more of you reporting problems with phpbb integration it looks like.

There is no fix at this time yet as we are still looking into it. With it being a holiday weekend it may take some time to post a fix.

vwsport.com December 27th, 2004 01:25 AM

okay, I understand. I am glad to see its php related as I was pulling hairs out trying to track it down. I will revert to the other ver of php for a few days.

Dan

Chuck S December 27th, 2004 09:42 AM

Okay this is your fix

Open your phpbb2.php file and find this

$md5cookpass=""; $ubbgroups = array();

change it to this

$md5cookpass=""; $ubbgroups = array(); $User = array();

vwsport.com December 27th, 2004 10:15 AM

okay an update, before I try this fix I loaded the newest ZEND optimizer, and after that everything worked. I have not done the fix you just posted. I saw the zend site showed the older ver to not be compatable with php4.3.10 just a heads up.

Dan

Quote:

Originally Posted by omegatron
Okay this is your fix

Open your phpbb2.php file and find this

$md5cookpass=""; $ubbgroups = array();

change it to this

$md5cookpass=""; $ubbgroups = array(); $User = array();


Chuck S December 27th, 2004 10:26 AM

Okay no problem although I doubt hosts will be as resourceful as you were.

The incompatibility that occurs at least from our program standpoint is that the new php needs the arrays specified before one is done. So for any system that has not been updated as thoroughly as you researched things can safely apply the fix I posted and it does not harm anything to include it in our build either.


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