PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.7x / 3.8x (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-7x-3-8x/)
-   -   Errors after move (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-7x-3-8x/147503-errors-after-move.html)

attroll February 11th, 2012 06:14 AM

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 February 11th, 2012 06:36 AM

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.

Chuck S February 11th, 2012 09:10 AM

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

attroll February 11th, 2012 10:24 AM

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

Chuck S February 11th, 2012 10:58 AM

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.

attroll February 11th, 2012 11:13 AM

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.

Chuck S February 11th, 2012 01:56 PM

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.

attroll February 11th, 2012 02:03 PM

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.

Chuck S February 11th, 2012 04:50 PM

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.

attroll February 11th, 2012 05:05 PM

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.

Chuck S February 11th, 2012 05:12 PM

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.

attroll February 11th, 2012 06:03 PM

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

Chuck S February 11th, 2012 09:49 PM

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.

attroll February 12th, 2012 01:13 AM

No this is not a wampserver.

Chuck S February 12th, 2012 08:33 AM

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

attroll February 12th, 2012 10:48 AM

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.

Chuck S February 12th, 2012 11:15 AM

That would be a matter of choice I guess.

attroll February 12th, 2012 11:24 AM

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.

Chuck S February 12th, 2012 12:10 PM

I was running both actually 2.51 and 3.01 different test sites.

attroll February 12th, 2012 04:25 PM

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.


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