dennisaj / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Cannot edit existing domain #940

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to Advanced>Domains
2. Select an existing domain
3. Change the domain name

What is the expected output? 
The domain name have to change
What do you see instead?
"Fatal error: require_once(): Failed opening required 
'/fusionpbxapp/extensions/resources/classes/extension.php' 
(include_path='.:/usr/share/pear:/usr/share/php:/var/www/html/fusionpbx:/var/www
/html/fusionpbx:/var/www/html/fusionpbx') in 
/var/www/html/fusionpbx/core/domain_settings/domain_edit.php on line 506"

What version of the product are you using? On what operating system?
I'm "At revision 8366.", according to advanced>upgrade>source_code menu

Please provide any additional information below.
I've edited /var/www/html/fusionpbx/core/domain_settings/domain_edit.php line 
506, and changed 
require_once PROJECT_PATH."app/extensions/resources/classes/extension.php";
to 
require_once PROJECT_PATH."/app/extensions/resources/classes/extension.php";
(added the "/" before "app/extensions[...]"). And that resolve the bug.

Original issue reported on code.google.com by Kazquo.a on 30 Apr 2015 at 10:30

GoogleCodeExporter commented 9 years ago
This is already fixed in 8368  I have checked all the PROthJECT_PATH and they 
seem to be followed by a /

However, read the code, this will break the accountcode if you have other value 
than your domain name specified manually

Original comment by luis.dan...@gmail.com on 30 Apr 2015 at 1:45

GoogleCodeExporter commented 9 years ago
Indeed, renaming a domain does appear to work as expected, in the latest 
revision of dev.  Please advise.

Original comment by sevenate on 30 Apr 2015 at 5:19

GoogleCodeExporter commented 9 years ago
Closing the issue as it has been reported as fixed and no response from 
original person that posted it to state otherwise.

Original comment by markjcrane@gmail.com on 5 May 2015 at 9:56