Support Forums

When not using Address or City

This is a discussion on When not using Address or City within the Technical Support forums, part of the Technical Support Forums category; I have deselected both "Display" & "Require" on Address, City, State & Country. When I register a user I get ...


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

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-28-2007, 07:36 PM   #1
Member
 
Grebogreen's Avatar
 
Join Date: Apr 2007
Posts: 65
Rep Power: 21
Grebogreen is on a distinguished road
Default When not using Address or City

I have deselected both "Display" & "Require" on Address, City, State & Country. When I register a user I get
Notice: Undefined index: address in /websites/xxxx/v4/userjoin.php on line 202
Notice: Undefined index: city in /websites/xxxx/v4/userjoin.php on line 203
Grebogreen is offline  
Old 07-04-2007, 09:21 AM   #2
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,201
Rep Power: 71
John Snyder is a jewel in the rough
Default

This is because you are displaying E-notice warnings for PHP. The script is looking to do something like filter the data for those variables, so it sends a notice out to let you know that something isn't working as it was intended. You can supress these notices by changing the line in init.php. It should be one of the very first lines.

I'm on vacation so I don't have access to the files to give you a best example, but I think you can do this:

includes/init.php

error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
__________________
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  
Old 07-05-2007, 12:46 PM   #3
Member
 
Grebogreen's Avatar
 
Join Date: Apr 2007
Posts: 65
Rep Power: 21
Grebogreen is on a distinguished road
Default

Thats what I like to see. On vacation and still logging into the net, I'm usual banned.
If it's something that can be changed then that should be OK but I'm corect in thinking that I would need Developer to do this?
Or can I slip this in above encription code?
My plan is to go for Developer with V4 which I realy want to use.

Still having problems with PIPEX and uploading pictures so may have to change host as well.
Grebogreen is offline  

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