PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old March 15th, 2013, 02:33 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
Deprecated errors with 2.5

I'm getting these errors when accessing my gallery from vB 3.8. Gallery is version 2.5.2. PHP version is 5.3.21. Site is hosting with GoDaddy in case it matters. How do I fix this?


Deprecated: Assigning the return value of new by reference is deprecated in /home/content/05/10432705/html/uniquecobra/gallery/index.php on line 191

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/05/10432705/html/uniquecobra/gallery/gallery_global.php on line 429

Deprecated: Assigning the return value of new by reference is deprecated in /home/content/05/10432705/html/uniquecobra/gallery/gallery_global.php on line 443
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 15th, 2013, 03:51 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Well the simple truth here is that software is very old and never written for PHP 5.3. It integrates with a forum product which was end of life 4 years ago. vBulletin has released a couple security fixes but thats it.

The issue is a simple one you would need to search those files for lines like this

Code:
Content visible to verified customers only.
Basically PHP 5.3 does not like =& you would simply change that reference to just = and that should get rid of your error.
__________________
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 March 15th, 2013, 03:54 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
Thanks Chuck. It seems that my plan then is to upgrade VB to 4.2 and to convert the gallery to Pro. Looks like I have a project.
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 15th, 2013, 03:56 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Yes Pro has lots more features and our new 8.3 due out soon even supports vb5 and has features like photo tagging etc

A community photo gallery - ReefTalk Gallery

A community photo gallery - My Photo Gallery
__________________
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 March 15th, 2013, 04:08 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
Are there conversion tools to migrate gallery data to Pro?
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 15th, 2013, 04:32 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
http://www.photopost.com/forum/1206159-post1.html

That should help
__________________
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 March 19th, 2013, 02:00 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
I have PP Pro installed.

Anyway - I'm trying to convert the data. I had to edit the vbag.php file to allow a longer server path name. Changed 50 to 60 char length.

I get this error when running the script?

Deprecated: Function ereg_replace() is deprecated in /home/content/05/10432705/html/uniquecobra/photopost/vbag.php on line 79

This is the line:
$eadmin2 = ereg_replace("@","\@",$eadmin2);

Is this easily fixed?
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com

Last edited by pbrown; March 19th, 2013 at 02:06 PM.
pbrown is offline   Reply With Quote
Old March 19th, 2013, 03:05 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Maybe use

$eadmin2 = preg_replace( '/@/', '\@', $eadmin2);
__________________
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 March 19th, 2013, 03:25 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
Thanks. That got me a bit further. I had found the new command but wasn't sure about where to put the delimiters.

My next error is this:

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/content/05/10432705/html/uniquecobra/photopost/vbag.php on line 342
Importing 1 Categories.... please wait


Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/05/10432705/html/uniquecobra/photopost/vbag.php on line 350
Click here to import photos
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 19th, 2013, 03:37 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
This is line 341 and 342:

Code:
Content visible to verified customers only.
Here is the code starting at line 350:

Code:
Content visible to verified customers only.
I'm not a programmer but am trying to sort this out.
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 19th, 2013, 04:28 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
You need to put the correct database information to connect to vbgallery database and the table prefix of your vbgallery tables. What is the prefix you entered for your vbgallery categories table?
__________________
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 March 19th, 2013, 05:18 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
Quote:
Originally Posted by Chuck S View Post
You need to put the correct database information to connect to vbgallery database and the table prefix of your vbgallery tables. What is the prefix you entered for your vbgallery categories table?
My table prefix is forum_ for all of the tables the database. I'm looking at PHPMyAdmin and they all start that way.

The gallery database is the same database as the forum unless I'm forgetting something.

I'm looking at about a dozen tables starting with forum_ppgal_. The categories table is named forum_ppgal_categories. So is the prefix 'forum_' or 'forum_ppgal_'?



I'll start over and see if maybe I goofed on the form data.
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 19th, 2013, 05:28 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Seattle, WA
Posts: 56
I made a change to the vbag.cnf.php file. I changed the gallery db prefix to forum_ppgal_ and reran the script. It worked fine that time.

Thanks for the assist. I really appreciate it.
__________________
Patrick Brown

www.rainierfalcons.com
www.uniquecobra.com
pbrown is offline   Reply With Quote
Old March 19th, 2013, 05:48 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Not a problem glad to assist.
__________________
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
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
Errors alexhue ReviewPost Bug Reports 7 July 26th, 2010 07:09 PM
All my errors alkalino Photopost Pro How Do I...? 1 May 21st, 2010 11:18 AM
Some Errors I need help with Sassyho Photopost Pro Bug Reports 6 June 5th, 2008 09:27 AM
need help with errors... shortbus ReviewPost Installation & Upgrades 1 July 10th, 2007 05:29 PM
errors with 5,3,1 iloco Photopost Pro Installation & Upgrades 5 June 11th, 2006 08:53 AM


All times are GMT -5. The time now is 02:21 PM.

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