Support Forums

Local Install Problems

This is a discussion on Local Install Problems within the Installation Problems forums, part of the Technical Support Forums category; Hi, I've installed 68C locally with WampServer. Initially when it finished the installation I got the error message:- Deprecated: Assigning ...


Go Back   68 Classifieds Forums > Technical Support Forums > Installation Problems

Reply
 
Thread Tools Display Modes
Old 03-10-2011, 10:04 AM   #1
Customer
 
Join Date: Oct 2009
Posts: 114
Rep Power: 11
belvedere is on a distinguished road
Default Local Install Problems

Hi,
I've installed 68C locally with WampServer. Initially when it finished the installation I got the error message:-

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\setup\includes\step6.php on line 20

However it said installtion was successful. I setup the site through Administration but now when I try and register a new user using the default template I get the error:-

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\userjoin.php on line 222

I've tried magic_quotes_runtime to true / false but makes no difference

Please help.
Thanks

Last edited by belvedere; 03-10-2011 at 10:50 AM.
belvedere is offline   Reply With Quote
Old 03-10-2011, 11:11 AM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,394
Rep Power: 73
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

What version of php are you running on your localhost server?
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 03-10-2011, 11:27 AM   #3
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,195
Rep Power: 70
John Snyder is a jewel in the rough
Default

These are just notices about using depreciated php functions. These are meant to notify developers that its time to plan on replacing them because sooner or later the functions will be removed from PHP. You can turn this notice off with the following added to Connections/classifieds.php or includes/init.php and in administration/includes/params.php:

PHP Code:
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED); 
However E_DEPRECATED is only available after PHP 5.3.0
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 03-10-2011, 01:37 PM   #4
Customer
 
Join Date: Oct 2009
Posts: 114
Rep Power: 11
belvedere is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh
What version of php are you running on your localhost server?
It's PHP 5.3.5
belvedere is offline   Reply With Quote
Old 03-10-2011, 01:45 PM   #5
Customer
 
Join Date: Oct 2009
Posts: 114
Rep Power: 11
belvedere is on a distinguished road
Default

Quote:
Originally Posted by juven14
These are just notices about using depreciated php functions. These are meant to notify developers that its time to plan on replacing them because sooner or later the functions will be removed from PHP. You can turn this notice off with the following added to Connections/classifieds.php or includes/init.php and in administration/includes/params.php:

PHP Code:
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED); 
However E_DEPRECATED is only available after PHP 5.3.0
I've just tried that but it's still the same. Any other ideas.

Thanks
belvedere is offline   Reply With Quote
Old 03-10-2011, 02:00 PM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

What version of 68C and do you have any modules installed?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 03-10-2011, 02:08 PM   #7
Customer
 
Join Date: Oct 2009
Posts: 114
Rep Power: 11
belvedere is on a distinguished road
Default

Quote:
Originally Posted by Lhotch
What version of 68C and do you have any modules installed?
Version 4.2.1

Currently no modules or templates but I will install some once I can get it to work.

Thanks
belvedere is offline   Reply With Quote
Old 03-10-2011, 02:19 PM   #8
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,195
Rep Power: 70
John Snyder is a jewel in the rough
Default

You may have to do it via php.ini

I don't use wamp, but from what I've seen you can use the tray to open up the php.ini where you can then set the error reporting. It should be something like this:

Code:
error_reporting = E_ALL
change it to

Code:
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 03-10-2011, 03:20 PM   #9
Customer
 
Join Date: Oct 2009
Posts: 114
Rep Power: 11
belvedere is on a distinguished road
Default

Problem solved. Thank you everyone for your suggestions.

I have deleted the ampersand in the $db = &new, so that it reads $db = new as read in another post and that seemed to fix it.
belvedere is offline   Reply With Quote
Old 03-10-2011, 04:00 PM   #10
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,195
Rep Power: 70
John Snyder is a jewel in the rough
Default

FYI that isn't the only location where that kind of coding for php4 support exists. Until the script is updated to full php5 support in upcoming releases you will likely have to make many changes like that. It would be easier short term to disable reporting for depreciated warnings globally unless you are debugging the script.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Install Problems kidder Installation Problems 3 10-06-2009 07:44 PM
Run 2nd copy 68C on local machine.... RandyB Technical Support 3 11-25-2008 03:24 PM
Install restrictions and 68classifieds server problems. pd58m Pre Sales Questions 3 05-05-2006 12:54 PM


All times are GMT -4. The time now is 02:38 PM.


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