Jump to content
  • 0

Import Module For 2.5 , Error And Timeout


Blesta Addons

Question

Hello All ;

 

is a long time that i was away from this forum and blesta activity , for apersonal case .

 

today i have tried to prepare the transfer from the v2.5 to the new version 3.1.3 with the import module , but i have no succes in all import .

 

the packages has been successfully imported  .

the useres not all .

the services not all .

 

maybe is a timeout probleme , as the database has a huge number of clients (about 3600) and services (more than 8000 services) .

 

i think if the dev can make the import work with ajax system or in steps methode is better .

 

first import packages  , then users (no more than 400 or 500 in oneshoot ) and services also in parties (300 or 500 ) .

 

somthing like

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step1=packages

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step2=users&from=0

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step2=users&from=500

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step2=users&from=1500

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step2=users&from=2000

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step3=services&from=0

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step3=services&from=500

http://ddddddd.com/blesta/admin/settings/company/plugins/manage/7/blesta/2.5/?action=import&step3=services&from=1000

i believe this issue will be fixed .

and now the big probleme that i front , is orderbox module . it import the service and the package . but all the domains imported is not linked with the domain is the orderbox platteform . why ?

because the module in version 3 , need the orderid and the nameservers to be confugured . and the imported services has not this value in it . what we should do ?

1 - either a batch script (module that check every domain in blesta and check it in orderbox plattforme and import the missing values .

2- change the database mannually , and that is impossible , as we have more than 2000 domaines in the systeme .

the blesta dev can help in this ....

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

There must be an error someplace, try the following --

 

Turn on error reporting. To enable error reporting, edit /config/blesta.php and change

 
Configure::errorReporting(0);
 
to
 
Configure::errorReporting(-1);
 
Then open /plugins/import_managers/components/migrators/blesta/2.5/blesta2_5.php and change (lines 199-201 Note! Line #'s may be a little different):
            //echo $e->getMessage();
            //echo $e->getTraceAsString();
            //continue;
to:
            echo $e->getMessage();
            echo $e->getTraceAsString();
            die;
And then let us know if you get any errors. There may be something that's hanging these up from being imported that's different than anything we've encountered yet. Knowing why the import failed will help determine the fix.
Link to comment
Share on other sites

  • 0

i have tested from the scratch with the edited files as suggested by paul , but the same probleme .

no error in the browser , it's a timeout probleme , i have put a setting for 5 minutes but still not importing all the data .

i think the probleme is my big database data as i told in my first post .

is possible to make the plugin go with steps ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...