Domain sync error

Started by Patrick, June 21, 2013, 05:39:38 PM

Patrick

Since 4.6.8 (i knew i shouldn't have updated) domain sync is broken.  Anyone else care to confirm.  It appears to be the core domain code, not module specific.

I've created a report anyway, not sure anything will come of it but need to do what i can.  https://help.hostbillapp.com/?cmd=bugtracker&action=bug&id=235

Quote<br />
<b>Warning</b>:  Uncaught exception 'HBException' with message 'Unable to load / locate class DomainsType' in /home/*/*/*/hbf/core/class.autoload.php:127
Stack trace:
#0 /home/*/*/*/hbf/core/class.autoload.php(127): AutoLoad::loader()
#1 [internal function]: AutoLoad::loader('DomainsType')
#2 /home/*/*/*/includes/core/class.domainmodule.php(138): spl_autoload_call('DomainsType')
#3 /home/*/*/*/includes/core/class.domainmodule.php(56): DomainModule->setFromDB()
#4 /home/*/*/*/includes/modules/Site/domains/models/class.domains_model.php(1373): DomainModule->getFromDB()
#5 /home/*/*/*/includes/modules/Site/automation/models/class.automation_model.php(1387): Domains_Model->synchDomain()
#6 /home/*/*/*/includes/modules/Site/automation/models/class.automation_model.php(1079): Automation_Model->domainSync()
#7 /home/*/*/*/includes/modules/Site/automation/models/class. in <b>/home/*/*/*/hbf/core/class.autoload.php</b> on line <b>127</b><br />
<br />
<b>Fatal error</b>:  Undefined class constant 'OPTION_ASCIIMODE' in <b>/home/*/*/*/includes/core/class.domainmodule.php</b> on line <b>138</b><br />
Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Danny

Don't know if i did it the right way like yours but if i go to "Orders & Accounts" and click on Domains and select all domains and click sync i have no errors.

Version: 4.6.8:4372   
regards
Danny

Patrick

#2
Quote from: Danny on June 21, 2013, 05:50:29 PM
Don't know if i did it the right way like yours but if i go to "Orders & Accounts" and click on Domains and select all domains and click sync i have no errors.

Version: 4.6.8:4372   

Mine only happens during auto sync with the cron. 





Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Danny

i´am on the Tasklist, what is the right name of this cron? i only have these active:

- Auto-Renew Domains
- Auto-Register Domains
- Auto-Transfer Domains
- Synchronize domain expiration dates with registrars
- Synchronize Pending Action Domains

On the "add new Task" dropdown i can´t see anymore things for domains as "change status of expired domains"
regards
Danny

Danny

#4
Synchronize domain expiration dates with registrars works for me also if i click on execute:

Synchronize domain expiration dates with registrars

Synchronized 0/0 domains (max 10 per cron-run)
regards
Danny

Danny

#5
Patrick try this on phpmyadmin or what else you use:

ALTER TABLE `hb_domain_prices`
ADD COLUMN `options` TINYINT(4) NOT NULL DEFAULT '1' AFTER `epp`;


and this

UPDATE `hb_domain_prices` SET `options` = `epp`;


if you can do this successfully than try to execute the cron manually again
regards
Danny

Patrick

Quote from: Danny on June 21, 2013, 06:13:07 PM
Patrick try this on phpmyadmin or what else you use:

ALTER TABLE `hb_domain_prices`
ADD COLUMN `options` TINYINT(4) NOT NULL DEFAULT '1' AFTER `epp`;


and this

UPDATE `hb_domain_prices` SET `options` = `epp`;


if you can do this successfully than try to execute the cron manually again

Looking at the queries and without executing them, i can already tell you i have an epp column
Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Patrick

And the options columb.  All with 0 or 1 in it.  Really freakin wish i could reach my admin.  No fail, staff goes on vacation and THAT is when dung happens
Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Danny

On my sceenshot you can see how my "hb_domain_prices" table looks like, is this the same as yours?
regards
Danny

Patrick

Same.  +1 to you for even taking the time to try and help :)
Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Danny

i try to help if i can, we are all in the same boot :-).

So now the problem seems to be very strange for me. The table things i posted are all what the update to 4.6.8 done with domain price table.

have the class.autoload.php and class.domains_model.php files the date from today? maybe there are not replaced by auto upgrade !? Or can you upload them manually again? it is a chance to try
regards
Danny

Patrick

Quote from: Danny on June 21, 2013, 06:38:10 PM
i try to help if i can, we are all in the same boot :-).

So now the problem seems to be very strange for me. The table things i posted are all what the update to 4.6.8 done with domain price table.

have the class.autoload.php and class.domains_model.php files the date from today? maybe there are not replaced by auto upgrade !? Or can you upload them manually again? it is a chance to try


Only files my check appears to be seeing that were modified today were these

Quote
root@jupiter [~]# ./check
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/upgrade/user/class.upgrade_controller.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/upgrade/models/class.upgrade_model.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/transactions/models/class.transactions_model.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/transactions/admin/class.transactions_controller.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/tldprices/models/class.tldprices_model.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/tldprices/admin/class.tldprices_controller.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/ticketviews/admin/class.ticketviews_controller.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/tickets/user/class.tickets_controller.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/tickets/sharing/class.tickets_controller.php
2013-06-21 16:46:20.000000000 -0400 /home/*/*/*/includes/modules/Site/tickets/models/class.tickets_user_model.php
root@jupiter [~]#

So i'm going to download it and upload those two files and see what happens.  I should have thought about checking that over.  Smart thinking bud.
Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Danny

#12
my files under /hbf/core and /includes/core have all the date from today only the "types" and "pdo" folder has not changed.

P.S. sorry dates are all in german format
regards
Danny

Patrick

Quote from: Danny on June 21, 2013, 06:46:06 PM
my files under /hbf/core and /includes/core have all the date from today only the "types" and "pdo" folder has not changed.

Well that kind of sucks.  I don't know what to do.  All of mine have really no recent updates.

Look at the screenshots.



Patrick - Forum Rules
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

Danny

#14
i also post a screenshot as you can see all files have 06/21/2013 so for me they are replaced by the update

edit: sorry i checked the files directly from the server not from manual download
regards
Danny