the following problem occures on my installation. When I add a hosting package everything goes right. But when I click in "Package Management" on "Edit Package" and select my package all the values in the fields like Storage, Transfer etc. are "undefined". Same problem occures when I select the package under "Domain Management -> Add Domain" as soon I select my package all values are "undefined". I already checked the MySQL table, all values are correct....Can please somebody tell me what to do...
Since your using FC 8 your seeing an issue caused by changes in the Mysql.pm module. As stated on IRC if you look for the lines with dataseek() in them and replace that with execute it should resolve your issues.
would end up
I am having the same "undefined" problem as Jan. Where exactly is the mysql.pm, I have tried here: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBD/mysql.pm but when I did a search for $query_output->dataseek(); there is nothing
Seems everything else that I have tested is working fine so far. I am using CentOS 5.5
I would recommend you try the fix of replacing $query_output->dataseek(); with $query_output->execute; in the code. This was due to changes in the Mysql.pm module.
Thanx Carl for the quick response. I delved into the files under /var/www/cgi-bin/admin/mods and could only find One (1) instance of $query_output->dataseek() and that was in the config.pl. I changed that as per your recommendation, restarted my server but am still getting the same "undefined" problem. Did I bark in the wrong tree?
You do not want to edit Mysql.pm you want to edit alter any instances of $query_output->dataseek() that you find in the .pl files in your admin installation. By default this is in /var/www/cgi-bin/admin/mods.
I see config.pl, domain.pl, info.pl all have references to the $query_output->dataseek call
OK, This is what I have done, I have gone into /var/www/cgi-bin/admin/mods and gone through the files. Did a search and replace with vim and in config.pl found 1 instance, in domain.pl found 4 instances, and finally in info.pl found 1 instance. After the changes I rebooted but I am still getting the "undefined" thingy.
At this point I would have to be logged into your administration to try and troubleshoot. I can't duplicate what your seeing based on my information.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.