5, December 2008

access user class php Error on line 313 - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: access user class php Error on line 313
« previous next »
Pages: [1] Print

Author Topic: access user class php Error on line 313  (Read 740 times)
Total Zero
*
Posts: 5
38 credits
Members referred : 0


« on: Jan 10, 2007, 03:40:11 AM »

Hiya

access user class php Error on line 313

Access_user Class ver. 1.94


I just installed this script, and upon testing came across this error, using "update_user_profile.php"

while trying to update the user profile this error occured which is display below

I thought this could be related to the count_visit function but I reset it back to default and this still was the case.

Is this a bug or a config issue ?

Any thoughts ?

regards zandebar



Notice: Undefined offset: 1 in /home/name/public_html/website/classes/access_user/access_user_class.php on line 313

Notice: Undefined offset: 2 in /home/name/public_html/website/classes/access_user/access_user_class.php on line 313

Warning: mktime() expects parameter 5 to be long, string given in /home/name/public_html/website/classes/access_user/access_user_class.php on line 313
Update user information:

This two forms are an example how to update the user and user-profile information
(fields with a * are required).



Since playing with script some more I have found that the"Date dd-mm-yyyy:" field must be filled in for this error not to occur

Q1) what is the idea of this field?

Q2) Do you really expect users to fill this in, can't the system put this in automatically?

Q3) Am sure there is a really good reason for this user input field, am just puzzled  Grin why its there

Q4) Can there be a work around if its left blank?


Thankyou for your time

Apart from that one area which puzzles me, in the short time I have had to play with it, it does exactly what I want it to do  Smiley
Which is great, thankyou for the time you spent making the script tis  Cool.

« Last Edit: Jan 10, 2007, 06:39:20 AM by zandebar »
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6486
39748 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jan 10, 2007, 09:10:14 AM »

Quote
Since playing with script some more I have found that the"Date dd-mm-yyyy:" field must be filled in for this error not to occur

the field is just an example what you can do with this diff. fields, in this case it could be a birth date field


Last blog : Just a better Internet portal provided by Google
Total Zero
*
Posts: 5
38 credits
Members referred : 0


« Reply #2 on: Jan 10, 2007, 03:42:51 PM »

Hiya Olaf,

thanks for your quick reply, knew there was some logic there somewhere  Shocked Embarrassed Grin

q1) So if I left this field  blank, by removing the date fileld from the HTML  or the user didn't want to put his birthday   in this fileld.

How would you stop the error messages from occuring ?

« Last Edit: Jan 10, 2007, 03:45:16 PM by zandebar »
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=5550
Tags : access user class php Error on line 313 Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: access user class php Error on line 313
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Dec 05, 2008, 05:58:43 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.995
Total Topics: 7.685
Total Members: 4.468
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: sansthaa

21 Guests, 4 Users online :

10 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.