dolibarr 20.0.2
repair.php File Reference

Run repair script. More...

Go to the source code of this file.

Variables

if(preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type = $dolibarr_main_db_type
 
$conf db name = $dolibarr_main_db_name
 Only used if Module[ID]Name translation string is not found.
 
$conf db user = $dolibarr_main_db_user
 Active Directory does not allow anonymous connections.
 

Detailed Description

Run repair script.

Definition in file repair.php.

Variable Documentation

◆ name

$conf db name = $dolibarr_main_db_name

Only used if Module[ID]Name translation string is not found.

Deprecated
See also
$company
getFullAddress()
getFullAddress(), $region_id, $region_code

You can use the following code to automatically derive it from your module's class name: preg_replace('/^mod/i', '', get_class($this))

Definition at line 140 of file repair.php.

Referenced by ActionsCardProduct\__construct(), ActionsCardService\__construct(), BordereauChequeBlochet\__construct(), doc_generic_asset_odt\__construct(), doc_generic_bom_odt\__construct(), doc_generic_contract_odt\__construct(), doc_generic_invoice_odt\__construct(), doc_generic_member_odt\__construct(), doc_generic_mo_odt\__construct(), doc_generic_myobject_odt\__construct(), doc_generic_odt\__construct(), doc_generic_order_odt\__construct(), doc_generic_product_odt\__construct(), doc_generic_project_odt\__construct(), doc_generic_proposal_odt\__construct(), doc_generic_reception_odt\__construct(), doc_generic_recruitmentjobposition_odt\__construct(), doc_generic_shipment_odt\__construct(), doc_generic_stock_odt\__construct(), doc_generic_supplier_invoice_odt\__construct(), doc_generic_supplier_order_odt\__construct(), doc_generic_supplier_proposal_odt\__construct(), doc_generic_task_odt\__construct(), doc_generic_ticket_odt\__construct(), doc_generic_user_odt\__construct(), doc_generic_usergroup_odt\__construct(), DolibarrTriggers\__construct(), html_cerfafr\__construct(), html_generic\__construct(), InterfaceActionsAuto\__construct(), InterfaceActionsBlockedLog\__construct(), InterfaceContactRoles\__construct(), InterfaceEventOrganization\__construct(), InterfaceLdapsynchro\__construct(), InterfaceMailmanSpipsynchro\__construct(), InterfaceNotification\__construct(), InterfaceStripe\__construct(), InterfaceTicketEmail\__construct(), InterfaceWorkflowManager\__construct(), InterfaceZapierTriggers\__construct(), modAccounting\__construct(), modAdherent\__construct(), modAgenda\__construct(), modAi\__construct(), modApi\__construct(), modAsset\__construct(), modBanque\__construct(), modBarcode\__construct(), modBlockedLog\__construct(), modBom\__construct(), modBookCal\__construct(), modBookmark\__construct(), modCategorie\__construct(), modClickToDial\__construct(), modCollab\__construct(), modCommande\__construct(), modComptabilite\__construct(), modContrat\__construct(), modCron\__construct(), modDataPolicy\__construct(), modDav\__construct(), modDebugBar\__construct(), modDeplacement\__construct(), modDocumentGeneration\__construct(), modDon\__construct(), modDynamicPrices\__construct(), modECM\__construct(), modEmailCollector\__construct(), modEventOrganization\__construct(), modExpedition\__construct(), modExpenseReport\__construct(), modExport\__construct(), modExternalRss\__construct(), modExternalSite\__construct(), modFacture\__construct(), modFckeditor\__construct(), modFicheinter\__construct(), modFournisseur\__construct(), modFTP\__construct(), modGeoIPMaxmind\__construct(), modGravatar\__construct(), modHoliday\__construct(), modHRM\__construct(), modImport\__construct(), modIncoterm\__construct(), modIntracommreport\__construct(), modKnowledgeManagement\__construct(), modLabel\__construct(), modLdap\__construct(), modLoan\__construct(), modMailing\__construct(), modMailmanSpip\__construct(), modMargin\__construct(), modModuleBuilder\__construct(), modMrp\__construct(), modMultiCurrency\__construct(), modMyModule\__construct(), modNotification\__construct(), modOauth\__construct(), modOpenSurvey\__construct(), modPartnership\__construct(), modPaybox\__construct(), modPaymentByBankTransfer\__construct(), modPaypal\__construct(), modPrelevement\__construct(), modPrinting\__construct(), modProduct\__construct(), modProductBatch\__construct(), modProjet\__construct(), modPropale\__construct(), modReceiptPrinter\__construct(), modReception\__construct(), modRecruitment\__construct(), modResource\__construct(), modSalaries\__construct(), modService\__construct(), modSocialNetworks\__construct(), modSociete\__construct(), modStock\__construct(), modStockTransfer\__construct(), modStripe\__construct(), modSupplierProposal\__construct(), modSyslog\__construct(), modTakePos\__construct(), modTax\__construct(), modTicket\__construct(), modUser\__construct(), modVariants\__construct(), modWebhook\__construct(), modWebPortal\__construct(), modWebServices\__construct(), modWebServicesClient\__construct(), modWebsite\__construct(), modWorkflow\__construct(), modWorkstation\__construct(), modZapier\__construct(), pdf_aurore\__construct(), pdf_azur\__construct(), pdf_baleine\__construct(), pdf_ban\__construct(), pdf_beluga\__construct(), pdf_canelle\__construct(), pdf_cornas\__construct(), pdf_crabe\__construct(), pdf_cyan\__construct(), pdf_eagle\__construct(), pdf_eagle_proforma\__construct(), pdf_einstein\__construct(), pdf_eratosthene\__construct(), pdf_espadon\__construct(), pdf_merou\__construct(), pdf_muscadet\__construct(), pdf_octopus\__construct(), pdf_proforma\__construct(), pdf_rouget\__construct(), pdf_sepamandate\__construct(), pdf_soleil\__construct(), pdf_sponge\__construct(), pdf_squille\__construct(), pdf_standard\__construct(), pdf_standard_asset\__construct(), pdf_standard_myobject\__construct(), pdf_standard_recruitmentjobposition\__construct(), pdf_storm\__construct(), pdf_strato\__construct(), pdf_timespent\__construct(), pdf_typhon\__construct(), pdf_vinci\__construct(), pdf_zenith\__construct(), PhpCollector\__construct(), UserGroup\_load_ldap_info(), AdvanceTargetingMailing\create(), Contact\create(), Cregion\create(), Link\create(), MultiCurrency\create(), Societe\create(), UserGroup\create(), Societe\create_from_member(), DolibarrModules\delete_cronjobs(), DolibarrModules\delete_menus(), DolibarrModules\delete_permissions(), AdvanceTargetingMailing\fetch(), Cregion\fetch(), Cstate\fetch(), Ldap\fetch(), Societe\fetch(), UserGroup\fetch(), AdvanceTargetingMailing\fetch_by_element(), AdvanceTargetingMailing\fetch_by_mailing(), DolibarrModules\getChangeLog(), DolibarrModules\getDesc(), MailingTargets\getDesc(), DolibarrModules\getDescLong(), DolibarrModules\getDescLongReadmeFound(), ConferenceOrBoothAttendee\getFullName(), getFullName(), RecruitmentCandidature\getFullName(), UserGroup\getFullName(), CommonNumRefGenerator\getName(), DolibarrModules\getName(), Cregion\getNomUrl(), Cstate\getNomUrl(), Societe\getNomUrl(), getParameterByName(), ModeleAccountancyCode\getToolTip(), ModeleNumRefBarCode\getToolTip(), Societe\getTooltipContentArray(), doc_generic_asset_odt\info(), doc_generic_bom_odt\info(), doc_generic_contract_odt\info(), doc_generic_invoice_odt\info(), doc_generic_member_odt\info(), doc_generic_mo_odt\info(), doc_generic_myobject_odt\info(), doc_generic_odt\info(), doc_generic_order_odt\info(), doc_generic_product_odt\info(), doc_generic_project_odt\info(), doc_generic_proposal_odt\info(), doc_generic_reception_odt\info(), doc_generic_shipment_odt\info(), doc_generic_stock_odt\info(), doc_generic_supplier_invoice_odt\info(), doc_generic_supplier_order_odt\info(), doc_generic_supplier_proposal_odt\info(), doc_generic_task_odt\info(), doc_generic_ticket_odt\info(), doc_generic_user_odt\info(), doc_generic_usergroup_odt\info(), mod_codecompta_aquarium\info(), mod_codecompta_digitaria\info(), mod_codecompta_panicum\info(), Societe\initAsSpecimen(), UserGroup\initAsSpecimen(), DolibarrModules\insert_cronjobs(), DolibarrModules\insert_dirs(), DolibarrModules\insert_menus(), DolibarrModules\insert_module_parts(), DolibarrModules\insert_permissions(), Societe\mergeCompany(), InterfaceActionsAuto\runTrigger(), InterfaceActionsBlockedLog\runTrigger(), InterfaceContactRoles\runTrigger(), InterfaceLdapsynchro\runTrigger(), InterfaceLogevents\runTrigger(), InterfaceMailmanSpipsynchro\runTrigger(), InterfaceMyModuleTriggers\runTrigger(), InterfaceNotification\runTrigger(), InterfaceStripe\runTrigger(), InterfaceTicketEmail\runTrigger(), InterfaceZapierTriggers\runTrigger(), Societe\setMysoc(), Societe\thirdparty_and_contact_email_array(), Societe\thirdparty_and_contact_phone_array(), AdvanceTargetingMailing\update(), Cregion\update(), Cstate\update(), Societe\update(), UserGroup\update(), and Societe\verify().

◆ type

if (preg_match('/crypted:/i', $dolibarr_main_db_pass)||!empty( $dolibarr_main_db_encrypted_pass)) $conf db type = $dolibarr_main_db_type
See also
Categorie\TYPE_PRODUCT
Categorie\TYPE_SUPPLIER
Categorie\TYPE_CUSTOMER
Categorie\TYPE_MEMBER
Categorie\TYPE_CONTACT
Categorie\TYPE_USER
Categorie\TYPE_PROJECT
Categorie\TYPE_ACCOUNT
Categorie\TYPE_BANK_LINE
Categorie\TYPE_WAREHOUSE
Categorie\TYPE_ACTIONCOMM
Categorie\TYPE_WEBSITE_PAGE
Categorie\TYPE_TICKET
fetch_barcode()
fetch_barcode(), barcode_type

Definition at line 137 of file repair.php.

Referenced by BordereauChequeBlochet\__construct(), CompanyBankAccount\__construct(), doc_generic_asset_odt\__construct(), doc_generic_bom_odt\__construct(), doc_generic_contract_odt\__construct(), doc_generic_invoice_odt\__construct(), doc_generic_member_odt\__construct(), doc_generic_mo_odt\__construct(), doc_generic_myobject_odt\__construct(), doc_generic_odt\__construct(), doc_generic_order_odt\__construct(), doc_generic_product_odt\__construct(), doc_generic_project_odt\__construct(), doc_generic_proposal_odt\__construct(), doc_generic_reception_odt\__construct(), doc_generic_recruitmentjobposition_odt\__construct(), doc_generic_shipment_odt\__construct(), doc_generic_stock_odt\__construct(), doc_generic_supplier_invoice_odt\__construct(), doc_generic_supplier_order_odt\__construct(), doc_generic_supplier_proposal_odt\__construct(), doc_generic_task_odt\__construct(), doc_generic_ticket_odt\__construct(), doc_generic_user_odt\__construct(), doc_generic_usergroup_odt\__construct(), html_cerfafr\__construct(), html_generic\__construct(), pdf_aurore\__construct(), pdf_azur\__construct(), pdf_baleine\__construct(), pdf_ban\__construct(), pdf_beluga\__construct(), pdf_canelle\__construct(), pdf_cornas\__construct(), pdf_crabe\__construct(), pdf_cyan\__construct(), pdf_eagle\__construct(), pdf_eagle_proforma\__construct(), pdf_einstein\__construct(), pdf_eratosthene\__construct(), pdf_espadon\__construct(), pdf_merou\__construct(), pdf_muscadet\__construct(), pdf_octopus\__construct(), pdf_paiement\__construct(), pdf_rouget\__construct(), pdf_sepamandate\__construct(), pdf_soleil\__construct(), pdf_sponge\__construct(), pdf_squille\__construct(), pdf_standard\__construct(), pdf_standard_actions\__construct(), pdf_standard_asset\__construct(), pdf_standard_myobject\__construct(), pdf_standard_recruitmentjobposition\__construct(), pdf_storm\__construct(), pdf_strato\__construct(), pdf_timespent\__construct(), pdf_typhon\__construct(), pdf_vinci\__construct(), pdf_zenith\__construct(), RejetPrelevement\__construct(), TraceableDB\__construct(), MouvementStock\_create(), Account\addline(), Facture\addline(), FactureFournisseur\addline(), Account\canBeConciliated(), PriceGlobalVariableUpdater\checkParameters(), DolEditor\Create(), ChargeSociales\create(), CompanyBankAccount\create(), Cpaiement\create(), Deplacement\create(), EmailCollectorAction\create(), EmailCollectorFilter\create(), Events\create(), Facture\create(), FactureFournisseur\create(), Menubase\create(), Notify\create(), PriceGlobalVariableUpdater\create(), Product\create(), RejetPrelevement\create(), RemiseCheque\create(), Facture\createFromCurrent(), BonPrelevement\delete(), Facture\delete(), Product\delete(), Facture\displayRetainedWarranty(), document_preview(), DolGraph\draw_chart(), DolGraph\draw_jflot(), Account\fetch(), ActionComm\fetch(), Adherent\fetch(), BonPrelevement\fetch(), CActionComm\fetch(), Categorie\fetch(), ChargeSociales\fetch(), CompanyBankAccount\fetch(), Cpaiement\fetch(), Deplacement\fetch(), Events\fetch(), Facture\fetch(), FactureFournisseur\fetch(), Menubase\fetch(), MouvementStock\fetch(), Notify\fetch(), PriceGlobalVariableUpdater\fetch(), Product\fetch(), RemiseCheque\fetch(), UserBankAccount\fetch(), FormSetupItem\generateInputField(), FormSetupItem\generateInputFieldCategories(), FormSetupItem\generateInputFieldEmailTemplate(), FormSetupItem\generateOutputField(), FactureLigne\get_allprev_progress(), FactureLigne\get_prev_progress(), Facture\getKanbanView(), FactureFournisseur\getKanbanView(), Product\getKanbanView(), WebPortalInvoice\getLabelStatus(), CommonInvoice\getLibStatut(), FactureFournisseurRec\getLibStatut(), FactureRec\getLibStatut(), WebPortalInvoice\getLibStatut(), CommonInvoice\getLibType(), BonPrelevement\getListInvoices(), RejetPrelevement\getListInvoices(), BonPrelevement\getNomUrl(), Categorie\getNomUrl(), ContratLigne\getNomUrl(), Facture\getNomUrl(), FactureFournisseur\getNomUrl(), Product\getNomUrl(), ProductFournisseur\getNomUrl(), WebPortalInvoice\getNomUrl(), Facture\getRetainedWarrantyAmount(), FormMail\getSectionForAIPrompt(), Facture\getTooltipContentArray(), FactureFournisseur\getTooltipContentArray(), Product\getTooltipContentArray(), ActionComm\getTypeLabel(), MouvementStock\getTypeMovement(), ActionComm\getTypePicto(), Adherent\initAsSpecimen(), Categorie\initAsSpecimen(), ChargeSociales\initAsSpecimen(), CompanyBankAccount\initAsSpecimen(), Cpaiement\initAsSpecimen(), Events\initAsSpecimen(), Menubase\initAsSpecimen(), PriceGlobalVariableUpdater\initAsSpecimen(), Product\isProduct(), Product\isService(), BonPrelevement\LibStatut(), Adherent\makeSubstitution(), mrpCollapseBomManagement(), PriceGlobalVariableUpdater\process(), FormSetupItem\saveConfValue(), BonPrelevement\set_infocredit(), FormSetupItem\setAsCategory(), FormSetupItem\setAsColor(), FormSetupItem\setAsEmailTemplate(), FormSetupItem\setAsGenericPassword(), FormSetupItem\setAsHtml(), FormSetupItem\setAsMultiSelect(), FormSetupItem\setAsPassword(), FormSetupItem\setAsProduct(), FormSetupItem\setAsSecureKey(), FormSetupItem\setAsSelect(), FormSetupItem\setAsSelectBankAccount(), FormSetupItem\setAsSelectUser(), FormSetupItem\setAsString(), FormSetupItem\setAsTextarea(), FormSetupItem\setAsThirdpartyType(), FormSetupItem\setAsTitle(), FormSetupItem\setAsYesNo(), Facture\setDraft(), FactureFournisseur\setDraft(), DolGraph\SetType(), FormSetupItem\setTypeFromTypeString(), FormSetupItem\setValueFromPost(), FormTicket\showForm(), Position\showInputField(), Account\update(), Adherent\update(), Cpaiement\update(), Deplacement\update(), Events\update(), Facture\update(), FactureFournisseur\update(), Menubase\update(), Notify\update(), PriceGlobalVariableUpdater\update(), Product\update(), Facture\updateline(), FactureFournisseur\updateline(), Facture\validate(), FactureFournisseur\validate(), Facture\willBeLastOfSameType(), pdf_standard\write_file(), pdf_standardlabel\write_file(), and pdf_tcpdflabel\write_file().

◆ user