The subdomain not support "-".

Bug #1426001 reported by akong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Easy Hosting Control Panel for Ubuntu
Fix Released
Medium
ehcpdeveloper

Bug Description

Hello,
I want add seo-gain subdomain.But ehcp can't add it.Could allow "-" add it?

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

what error do you reveive ? do you see ?

Revision history for this message
akong (akong) wrote :

When I add subdomain and use seo-gain subdomain.It's will show

Some Error Occured.
Subdomain may contain only alphanumeric characters..

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

I released now,
ehcp.net/ehcp_yeni.tgz
new testing version,

you may test this against this bug.
you may just replace classapp.php and localutils.php

let me know if this solved.

Changed in ehcp:
importance: Undecided → Medium
assignee: nobody → ehcpdeveloper (ehcpdeveloper)
status: New → Fix Released
Revision history for this message
akong (akong) wrote :

Hello,
I have download latest version and replace classapp.php and localutils.php
But I get error message when I open my admin url.

Fatal error: Cannot redeclare is_valid_domain_name() (previously declared in /var/www/new/ehcp/localutils.php:4) in /var/www/new/ehcp/localutils.php on line 37

Please check it.

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

open localutils.php,
delete second function in line 37

retry,

I will fix it in download too..

thanks for reporting.

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

now, I updated ehcp_yeni.tgz,
you may also replace localutils.php from that file.

Revision history for this message
akong (akong) wrote :

Hello,
This bug is fixed.Thanks a lot.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.