Jump to content
php.lv forumi

Errors registreeshanas laikaa


inox0rable
 Share

Recommended Posts

Sveiki.

Lietoju Subdreamer CMS. Probleema taada, ka registreeshanaas laikaa izmet erroru un taa, kaa es veel tikai maacos php un paareejaas web izstraadei vajadziigaas valodas, tad man nav ne jausmas, kaa erroru vareetu izlabot.

Errors izskataas shaadi:

Warning: eregi() [function.eregi]: REG_ERANGE in C:\AppServ\www\subdreamer\plugins\p12_mi_registration\register.php on line 222
Please enter a valid email address.

 

Faila register.php 222 rinda:

if(!eregi("^([a-zA-Z0-9_-. ])@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}. )|(([a-zA-Z0-9-]. ) ))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$", $_POST['p12_email']))

Pats register.php ŠEIT.

Un dziivajaa tas viss izskataas ŠĀDI.

Ceru, ka kaads varees paliidzeet :)

Link to comment
Share on other sites

Taapat neiet, vispaar ceru, ka tevis doto kodu ieliku pareizajaa vietaa ^^

Meeginaju registreeties ar inbox, gmail, izdomaataam (:D) e-pasta adreseem.

Admin CP arii skatiijos Settingus pie registreeshanaas, viss izskataas labi, patiesiibaa tur arii nebija nekaa taada, kas vareetu novest pie errora.

Link to comment
Share on other sites

 Share

×
×
  • Create New...