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 January 11th, 2005, 02:20 PM   #1 (permalink)
Senior Member
Verified Customer
 
Geiri's Avatar
 
Join Date: Nov 2002
Location: Reykjavik, Iceland
Posts: 720
Pp486 + VB3 Error Warning: array_merge

I am converting from phpbb2 to vb3.
Server is using PHP Version 5.0.0

I get this error in photopost User Index

Code:
Content visible to verified customers only.
This is on localserver so its not accessable
__________________
Geiri
Geiri is offline   Reply With Quote
Old January 11th, 2005, 05:30 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Location: Belgium
Posts: 395
Send a message via ICQ to Interdit Send a message via AIM to Interdit Send a message via MSN to Interdit Send a message via Yahoo to Interdit
Hello,

I don't think Php 5.0 is ready for all applications, did you try with 4.3.10 ?

Later,
Interdit
Interdit is offline   Reply With Quote
Old January 11th, 2005, 06:11 PM   #3 (permalink)
Senior Member
Verified Customer
 
Geiri's Avatar
 
Join Date: Nov 2002
Location: Reykjavik, Iceland
Posts: 720
No this was my first try.

Maby I have to downgrade?


:-/
__________________
Geiri
Geiri is offline   Reply With Quote
Old January 11th, 2005, 11:53 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Also note your posting on the Photopost support forum yet your errors are with Vbulletin


I would if I where you make sure you have correctly switched from Phpbb to VB in Photopost

1. database points to vb3 now in config file as well as vb license number in there
2. in your database you changed settings table line 41 to vb3 as well as setting 83 to any vb3 table prefix
3. Edited the config-int.php file with the proper server paths to your vb forum as well as Photopost and photopost table config.
__________________
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 January 27th, 2005, 04:56 PM   #5 (permalink)
Junior Member
Verified Customer
 
zatsu's Avatar
 
Join Date: Jan 2005
Location: Las Vegas
Posts: 6
I am also getting this error.

It can be viewed at: http://test.mmopics.com/photopost/index.php


I tried various installs:

1) Fresh install with Photopost and vb3 using different databases
2) Fresh install with both using same database
3) Added vb3 to existing install of photopost

Each time I am getting the same error.

I have also verified all the config settings and license number, verified config-int.php

I have checked the settings table lines.

Still same error.

I do not recieve any errors on the forum itself. Just when I switch to the photopost directory.

My Configuration is:

Windows 2003 Server (all current)
IIS 6
PHP 5.0.3
VB 3.0.6
Photopost 4.8.6

I will continue to troubleshoot, but if anyone has had this issue and resolved, please post here.

Thank you

Note on the comment in regards to this being a VB3 error, this may be the case, but I purchased your product with the advertising that you integrate well with vb3.

This error only occurs when using your product.

I believe that any input your support staff can have in this matter would be most helpful.

Last edited by zatsu; January 27th, 2005 at 05:38 PM.
zatsu is offline   Reply With Quote
Old February 25th, 2005, 09:02 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Still that error is specific to the VB code. Not Photopost code. I do see that on any system I have seen this on error reporting is usually set real high. You can alter the php.ini to this and see if it goes away

error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_CORE_WARNING & ~E_USER_WARNING & ~E_USER_NOTICE & ~E_COMPILE_WARNING

; Print out errors (as a part of the output). For production web sites,
; you're strongly encouraged to turn this feature off, and use error logging
; instead (see below). Keeping display_errors enabled on a production web site
; may reveal security information to end users, such as file paths on your Web
; server, your database schema or other information.
display_errors = Off
__________________
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 February 25th, 2005, 09:18 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 84
... this bug is related to the vB integration, not vB itself...

in header-inc.php, add this in the begining of the vb3 integration:
Code:
Content visible to verified customers only.
... the array-merge call is requesting the entire list of arrays to be filled, and you don't have all of the them yet... creating them will stop the error.

(it's never good to suggest to edit php.ini when the problem is error reporting...)
nexia is offline   Reply With Quote
Old February 25th, 2005, 11:01 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
First off your talking about the beta header include and you can report this there if you wish. I cant comment specifically what on php 5 causes this.

Second I think your wrong about php.ini scope as the php.ini file tells you this and even tells you what I have stated. display errors must always be off and php states this.

; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
; By default, PHP surpresses errors of type E_NOTICE. These error messages
; are emitted for non-critical errors, but that could be a symptom of a bigger
; problem. Most notably, this will cause error messages about the use
; of uninitialized variables to be displayed.

Basically if you have your error reporting set so high that empty values are reported there is nothing you can do or we can do.

Basically arrays or variables are empty till brought into use in php so do as you wish.

I am just posting a possible option that might get rid of this error
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; February 25th, 2005 at 11:03 AM.
Chuck S is offline   Reply With Quote
Old February 25th, 2005, 12:33 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 84
better action for error reports. on top of your files, write this:
Code:
Content visible to verified customers only.
you will then deactivate the entire Error_Reporting system without having to re-write your php.ini ...

and the problem with array_merge is recurent, so even if you already know that a array is empty, mergin an empty/not created array with another will cause an error... deactivating the error system is good, but not correct the bug anyway...

oh, and yes, it's a PHP5 error, as display_errors is always set to TRUE by default... webservers have to deactivate it... most don't, for security!

Last edited by nexia; February 25th, 2005 at 12:36 PM.
nexia is offline   Reply With Quote
Old February 27th, 2005, 07:01 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Location: Switzerland
Posts: 1
Quote:
Originally Posted by nexia
... this bug is related to the vB integration, not vB itself...

in header-inc.php, add this in the begining of the vb3 integration:
Code:
Content visible to verified customers only.
... the array-merge call is requesting the entire list of arrays to be filled, and you don't have all of the them yet... creating them will stop the error.

(it's never good to suggest to edit php.ini when the problem is error reporting...)
I did edit the php.ini and tried the option to turn off the display errors - but the problem was still present! (running on WinXP, Apache 2.0.52, PHP 5.0.3 and MySQL 4.1.10)

Your hint about creating those arrays solved the problem - thanks a lot for the help!
Sir_Varadero 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
It's back: Warning: array_merge() [function.array-merge] pennylessz28 Installs and Upgrade - vBulletin 3.5.X 7 December 17th, 2005 11:23 AM
Warning showing up in error logs(NOT A BUG) Ted S Photopost Pro Bug Reports 2 July 31st, 2005 11:49 PM
Warning error? dutchbb Photopost Pro Installation & Upgrades 5 July 1st, 2004 02:51 PM


All times are GMT -5. The time now is 05:27 PM.

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