开发框架 版主:迅睿框架研发组
PHP 导入 EXCEL 到数据库 Internal Server Error
类型:迅睿CMS 更新时间:2020-11-17 22:03:10
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


PHP 导入 EXCEL 到数据库

使用官方的表单插入副表的那个代码

插入600条记录左右(因为要入副表,那应该是执行了 600 * 2次)

然后就出现了上面的错误!


官方的插入代码 一条记录是要执行3次,SQL,一次主表,一次更新主表的tableid,一次是入副表

如果是3次的话,只能400条,1200次


如果是写死,tableid=0  执行2次,那就也是大概 1200次!


请问,大概是什么问题引起这个错误?是超时吗?还是内存?

回帖