Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr (/thread-7719.html) |
Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - mr.x - 09-01-2009 04:43 AM Hello all, I did a migration from vhcs 2.4.7.1 to ispCP 1.0.2 last weekend. I had a few issues after the migration but i solved most of them. Unfortunatelly i could find any solution for this issue: Code: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/traffic/ispcp-vrl-traff line 259. I am getting this message every 30 minutes. Here the lines from my ispcp-vrl-traff script: Code: 258 while (($key,$value) = each(%main::sub_id_name)) { I checked the trunk as well. Its the same inside. Anybody an idea how to fix it? Or where to search for it? Br Jan RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - sci2tech - 09-01-2009 04:45 AM Seems like an orphan entry in database. Check if all subdomains parents still exists in domain table. RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - mr.x - 09-01-2009 05:47 AM Hi sci2tech, thanks for the fast repley ! (09-01-2009 04:45 AM)sci2tech Wrote: Seems like an orphan entry in database. Check if all subdomains parents still exists in domain table. I set all domains and subdomains to change and run the rqst-mngr. Lets wait half an hour to see if its the solution. Br Jan RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - sci2tech - 09-01-2009 05:51 AM Much faster method: Code: select `subdomain`.* from `subdomain` left join `domain` on (`subdomain`.`domain_id` = `domain`.`domain_id`) where `domain`.`domain_id` is null; RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - mr.x - 09-01-2009 05:57 AM Hi sci2tech, (09-01-2009 05:51 AM)sci2tech Wrote: Much faster method: ok, thats much faster .-) I got two subs. But there is something wrong because I do not have the domain_id = 1. My domain table starts with 5. Nothing happens when I set the two subs to delete. Can I delete them manualy? Br Jan RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - sci2tech - 09-01-2009 05:59 AM Delete them manually from database. Should be no problems. This is the way I remember vhcs RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - sci2tech - 09-01-2009 06:13 AM BTW you should check all tables for orphan entries. I bet you will find more RE: Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/tr - mr.x - 09-01-2009 06:28 AM Hello, (09-01-2009 06:13 AM)sci2tech Wrote: BTW you should check all tables for orphan entries. I bet you will find more I will check all the other tables too Jan Solved ! Thanks for the support ! Br Jan |