PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 11th, 2012, 06:14 AM   #1 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
Errors after move

I just moved my gallery to a new server and now I am getting the errors below.

I have checked the config file and the directory is correct.
I have re-uploaded the files in binary and that did not help.

Someone please help?


Quote:
Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/gallery/gallery_global.php on line 429

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/gallery/gallery_global.php on line 443

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /home/mysite/public_html/forum/includes/class_core.php on line 2552
attroll is offline   Reply With Quote
Old February 11th, 2012, 06:36 AM   #2 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
I went ahead and tried to re-install the addon and this is the error I recieved;
Quote:
Warning: substr() expects parameter 2 to be long, string given in [path]/admincp/vbgallery_install.php on line 1459
My forums are working and everything else seems to be fine. I am afraid to turn my forums and the gallery back on because I feel it might screw up the photos in the database. I cannot lose these photos.

Please help ASAP.
attroll is offline   Reply With Quote
Old February 11th, 2012, 09:10 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Some more information might help here.

PhotoPost Community - Announcements in Forum : vBGallery Support

Reason I ask is its important. For instance in vbGallery 3.01 line 429 of gallery_global.php is

Code:
Content visible to verified customers only.
Which of course is not going to throw any error and the rest of your errors all come back as forum files here. It could be imcompatibility with newer PHP versions
__________________
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 11th, 2012, 10:24 AM   #4 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
Sorry I did not post this information to start with. It was only a server move. I don't know what is missing or what I forgot.

Centos
PHP 5.3.10 MySQL 5.1.56
Dedicated server
Server under my control
Hammock Forums - Elevate Your Perspective Not sure if you can see this because the gallery is currently turned off.
vBulletin 3.8.7 Patch Level 2
VBG 2.51

First can I safely turn my forums back on and let user start posting to the forums without screwing up the gallery or database?

Second, can you please help me ASAP
attroll is offline   Reply With Quote
Old February 11th, 2012, 10:58 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Well line 429 of that file is this

Code:
Content visible to verified customers only.
I really do not see why you should get an error with that line it has been in existence for awhile. Maybe a change in vbulletin?

Did you do anything like upgrade your forum. From what I see in vbulletin they call things like this

Code:
Content visible to verified customers only.
Maybe try upgrading your gallery files. I was thinking this is maybe a PHP issue but the line your only 2 errors point to something with the bbcode parser. I will have to check into 3.87 vb and see if they changed anything but other than this one issue I see in the gallery I really can not comment on the forum errors in your post.

You can turn off your gallery and use your forum sure.
__________________
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 11th, 2012, 11:13 AM   #6 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
Chuck
It was working on my other server.
All I did was copy the directories and the databases to the new server.
I did not upgrade anything.
I also can not see why it is not working. I only changed servers.

The only difference I know of is the PHP and Mysql are a little newer versions

Previous Server
PHP 5.2.15
Mysql 4.1.22

Do you think it could be because of the newer versions of PHP or Mysql?

New Server
PHP 5.3.10
MySQL 5.1.56

I can give you full access if that would help you look around. If so, please let me know where to submit a support ticket.

Last edited by attroll; February 11th, 2012 at 12:53 PM.
attroll is offline   Reply With Quote
Old February 11th, 2012, 01:56 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Have you updated your gallery config file to the new server path?

You can send me full info to look at your issue all I am saying is the errors your reporting do not make sense with the information I am getting. There are only 2 gallery errors and they seem to suggest a problem with the bbcode parser which should not be a php issue from what I see. Your forum handles that line much the same was as vbGallery handles it so it is definately something we are not seeing based on the info, I can take a closer look when I get that information from you. You can send any information to the contact us link in our site header.
__________________
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 11th, 2012, 02:03 PM   #8 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
When I set up the new server, I set the paths up so they were all identical to the old server. I did double check the path and it is fine.

I am pulling my hair out here. I want to turn my forums back on but would like to get this resolved first.
attroll is offline   Reply With Quote
Old February 11th, 2012, 04:50 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I can not tell you if it would be a quick resolution here. Once we receive data we will investigate depending on the time of day.
__________________
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 11th, 2012, 05:05 PM   #10 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
How do I submit a support ticket. I do not see a link for this?

Should I drop down my PHP version and my Mysql version to what my other server was running.

Do you think it would be safe to turn my forums back on so users can use them and post?
I just don't want to screw up the database that is why I am asking.
attroll is offline   Reply With Quote
Old February 11th, 2012, 05:12 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
1. You can try installing the same php and mysql as the old server sure.

2. As I posted sure just disable your gallery but your forums should be okay

3. In my post where you asked you can send any data to the contact us link on our site header.
__________________
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 11th, 2012, 06:03 PM   #12 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
Ok, I turned the forums back on.
I sent all the info to the Contact US. I would appreciate it if you could look at it at your next possible moment.

Thank you very much
attroll is offline   Reply With Quote
Old February 11th, 2012, 09:49 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Everything I am reading on the internet suggests backing down the php version. Is this wampserver? seems alot of people running wampserver get this error it seems.
__________________
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 12th, 2012, 01:13 AM   #14 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
No this is not a wampserver.
attroll is offline   Reply With Quote
Old February 12th, 2012, 08:33 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Okay I can only report documentation I am finding on this problem.

It is not like the only 2 error lines on the gallery give any indication on any issue on the gallery side since it has to do with bbcode parsing which is done the same way as the forum.

It seems to be a PHP issue and all resolutions I have seen are backing PHP down. I personally myself have used vbGallery up to PHP 5.3.1
__________________
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 12th, 2012, 10:48 AM   #16 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
I am going to try to drop my PHP down to a lower version. I am just trying to decide if I want to drop down to 5.3.1 or go back to 5.2.15, where I was at on the other server.
attroll is offline   Reply With Quote
Old February 12th, 2012, 11:15 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
That would be a matter of choice I guess.
__________________
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 12th, 2012, 11:24 AM   #18 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
You said you had VBG working on PHP 5.3.1, what version of VBG was that? I am running VBG 2.51 and not the latest version because I am still using VB 3.8.

Do you think PHP 5.3.1 will be fine with VBG 2.51? It would be nice to only have to try the down grade once and have it work.
attroll is offline   Reply With Quote
Old February 12th, 2012, 12:10 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I was running both actually 2.51 and 3.01 different test sites.
__________________
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 12th, 2012, 04:25 PM   #20 (permalink)
Member
Verified Customer
 
attroll's Avatar
 
Join Date: Feb 2003
Posts: 364
Man, it is always something. I tried to get my PHP down graded to 5.3.1 but I was told the follow bellow:
So it looks like I am going to have to downgrade it to PHP 5.2.17

Quote:
PHP 5.3.1 is not supported by cPanel anymore. We can downgrade it to 5.2.17
5.2.17 is the latest and stable version in the 5.2.x series, Any PHP 5.3 below 5.3.10 is vulnerable.
attroll 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you move an ad? ~kev~ Classifieds Bug Reports 1 March 24th, 2010 06:06 PM
Host Move Now Errors qz6lwp Photopost Pro Installation & Upgrades 9 January 15th, 2008 08:02 PM
how can i move the text ArabPen Classifieds How do I...? 1 May 14th, 2007 06:23 AM
Could someone help me move something? digidivakathy Photopost Pro How Do I...? 3 July 6th, 2005 08:42 AM


All times are GMT -5. The time now is 10:13 PM.

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