djaxel
Retired Forum Member-
Posts
51 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by djaxel
-
Hi, I'm still running on PIM , the module works fine except the unsuspend function , it echo's a succes message but the vps is still suspended .
-
If you're on a cpanel server: /usr/local/apache/logs/error_log . Watch the log with tail -f and execute the suspend button , you'll see in the error log a line with your ip and the error.
-
Check the error_log .
-
Hi, It works ok , without any modifications . The IP assignement need improvement ( like multiple IP's , when the vps is terminated the IP isn't set back to available in the whmcs's database)
-
+1 from me
-
ok , will wait for the release . I hope you solved the "arch" thing and the base_sample_id to be queried from the database.
-
The error apears because in lib_vz_api.php on line 294 , the sample_id isn't used from the database , I made a modification to query the database to look for the sample_id , I'll post it as soon as I have some free time.
-
Try adding in the table mod_vz_servers x86 or x86_64 as it's ok for you ( in column arch) . I think this worked for me.
-
Any errors?
-
Ok , thanks
-
No , the Environment ID looks like: 3edb1714-a392-cb42-b8a2-cf53ca7.... When you create a VPS with this module the environment ID box is updated automaticly with the env. ID . @timgws How can we get the environment ID's for existing VPS's created with PIM ?
-
I've tried the other way from: $disabled = !(bool)$mesg[0]; to: $disabled = (bool)$mesg[0]; and works fine now. I don't know if it's correct and it doesn't affect other functions so please check.
-
Hi, It's already: $disabled = !(bool)$mesg[0]; I'm using the latest version you posted on this topic. 0.11
-
Hi, Ok , I understand , but , I suspended a VPS , it stoped with success. But then I hit the unsuspend button , I received a Module "Command Success Service Unsuspended Successfully" message in whmcs but the vps is still down ( offline ).
-
Hi, I think the only solution is to use {$service_custom_fields.1} . We can make 5 ( or even more from case to case) custom fiels and asigne with the vallue when the vps is created. In the email we can use {$service_custom_fields.1}, etc to inform the client.
-
I've used the value from table cache and json_decode it , it works ok , but I'm sure you can do a better job an interogate the database to decode the value. Create , change password and terminate functions work fine. The suspend function stops the vps instead of suspending it. The unsuspend function doesn't start/resume the vps ( but I'm receiving a success message in whmcs ). If you can please try to change the module that would create a vps with more than 1 IP adress ( you can use the ConfigOptions , like you used for the Package Name). Thanks . I appreciate the work you did with this module.
-
I use Configurable Option Groups for other products with values like this: value_to_pass_to_module|value_to_be_displayed And it work fine , so it should work and for this module. Did you try it?
-
Ok , found the problem. I've removed everything and reinstalled the module. The problem were that my vps package was a Dedicated/VPS Server type , so it didn't took the VZ server , I changed to Hosting type and it works. But I did had to add manually to mod_vz_servers in column arch: x86_64 Now I get Configuration error: can't get specified '282c7d76-8e15-a54.......... The line 292 from lib_vz_api.php needs to use the right base_sample_id from mod_vz_cache , at this point I see that is hard coded , not using the database.
-
Hi, In mod_vz_cache I have: {".centos-5-x86_64":"x86_64",".fedora-core-10-x86_64":"x86_64",".ubuntu-9.04-x86_64":"x86_64",".debian-5.0-x86_64":"x86_64","redhat-as3-minimal-x86_64":"x86_64"} I used Centos 5 [64bit] because I think this is what I saw on your site , it doesn't matter for me if it has or not a space. Believe me , I've triple checked the server config , I know it should work but it doesn't connect till I modify the file itself .
-
ok , managed to create a vps with success , but with other modifications after those from above: Added in the mod_vz_servers table in column arch: x86_64 because it was empty . Changed in liv_vz_api.php line 292 the base_sample_id with the id I took from the table mod_vz_cache for that Product Name.
-
Hello, I've added: error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", 1); To display any errors and when I create I get: Fatal error: Uncaught exception 'VirtuozzoError' with message 'Could not find a configured Virtuozzo server to connect to.' in ....... lib_vz_api.php:57 mysql> SELECT * FROM `mod_vz_servers` LIMIT 0 , 30; | 1 | vps1.domain.com | | | 0 | | | mysql> SELECT * FROM `tblservers` WHERE `hostname` LIKE 'vps1.domain.com' LIMIT 0 , 30 ; | 9 | vps1.domain.com | x.x.x.x | vps1.domain.com | 0.00 | | | | | | | | | | | 200 | virtuozzo | root | xx | | | 1 | Then if I replace in lib_vz_api.php line 49 `servername`='vps1.domain.com' it works till: I get: Error: Could not authenticate with server. If in virtuozzo.php line 99 I replace (!$vz->Login($params['serverusername'], $params['serverpassword'])) with the actual user and password it works till: I get: The configuration sample was not found on the server.Please check either the server login details, or check that the config name is exact.Also, check that the configuration name exists for the requested architecture. The Operating System is Centos 5 [64bit] On VZ i have centos-5-x86_64 Double checked the Package name and it's the same. PS. the server name IP and password were changed in the mysql queries displayed here.
-
Hi, It need more detailed documentation . I've tried it and didn't create a vps with success . I get an error that it couldn't find the os template ( I used the same values as on your site , I even bypass the custom fields and entered directly in the file the name of the template ). I think it needs more testing on new whmcs installations .
-
Hi, Any of you who are using this addon , when you install it for the first time it sends emails to all clients who signed up till 45 days ago , or only to the clients who signed up 45 days ago? Thanks.
-
Hi, When I activate this addon , it will send feedbacks emails only to customers that are exactly 45 days old every day , right? Not to all my old clients till those who signed up 45 days ago ..
-
Exactly , only a few clients can't make an order because the cart is empty.
