Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

date of birth error


jjanguda

Recommended Posts

Hi,

 

I've installed Date of Birth mod by Alparslan Ozturk,

http://www.oscommerce.com/community/contributions,154

 

But I'm getting this error:

 

Fatal error: [] operator not supported for strings in c:\appserv\www\loja\create_account.php on line 459

 

 

 

 

This line is:

            $dob_day[] = array('id' => sprintf('%02d', $i), 'text' => sprintf('%02d', $i));

 

 

 

 

This is part of the Date of birth mod, it defines the pull down to show days.

 

Now the interesting is: the first time I access the file it loads the creat account form with no problems. IF there are no errors in the form, it gets processed and the client gets the email. But if there is an error on the form, when it reloads the page for the client to correct things the form stops and the Date of birth placement with the error I've mentioned.

 

 

anyone knows why?

 

please help.

 

Thanks.

 

 

 

jjanguda

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...