Post

Add A New Post

Post
Showing 3 out of total 123
prestashop 如何更换域名
Author : Anonymous Publish Time : 07 May 2023 00:43:56

1.在apache或者其他服务器软件设置rewrite把旧域名转向新域名(如果需要)

更改 `ps_shop_url` 表中对应url

UPDATE `ps_shop_url` SET `domain_ssl` = 'www.crossborderpower.com',`domain` = 'www.crossborderpower.com' WHERE `ps_shop_url`.`id_shop_url` = 1;

Prestashop建站也是非常优秀的程序,

Caught unhandled error "SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails
Author : Anonymous Publish Time : 04 Mar 2023 01:17:54

Caught unhandled error "SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`databaseSql`.`#sql-16c3d_3eb`, CONSTRAINT `mt_image_foreign_product_id_64022a2c8b585` FOREIGN KEY (`product_id`) REFERENCES `mt_product` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)" while building "Cycle\ORM\SchemaInterface".

 

select * from mt_image where product_id not in (select id from mt_product)

delete these records product id not in table product

TCPDF Undefined variable $cellspacingx
Author : Anonymous Publish Time : 05 Feb 2023 21:02:39

    "type": "Yiisoft\\ErrorHandler\\Exception\\ErrorException",
    "message": "Undefined variable $cellspacingx",
    "code": 2,
    "file": "vendor/tecnickcom/tcpdf/tcpdf.php",
    "line": 18276,