=== DIAGNÓSTICO DE IMPORTAÇÃO CRAWLER-PIPELINE === 1. Testando conexão ao banco de dados... ✅ Conexão estabelecida com sucesso 2. Verificando tabela 'pinfeeds'... ✅ Tabela 'pinfeeds' existe 📋 Colunas encontradas: id, user_id, title, link, category, tags, thumbnail, website_source, upload_date, user_reactions, user_level, image, description, pubDate, guid, source, updated, favicon, embed, iframe, categories, actors, source_website, channel, author, video_time, embed_code, slug, source_domain, main_category_id, source_domain_id, title_cat_id, description_cat_id, tag_cat_id, likes, dislikes, crawl_job_id ❌ ERRO ao verificar tabela: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away 3. Verificando tabelas relacionadas... ❌ Erro ao verificar 'users': SQLSTATE[HY000]: General error: 2006 MySQL server has gone away ❌ Erro ao verificar 'feed_data': SQLSTATE[HY000]: General error: 2006 MySQL server has gone away ❌ Erro ao verificar 'crawler_ready': SQLSTATE[HY000]: General error: 2006 MySQL server has gone away ❌ Erro ao verificar 'pipeline_processes': SQLSTATE[HY000]: General error: 2006 MySQL server has gone away 4. Testando validação de URLs... ✅ https://example.com/test ✅ http://example.com/page?id=123 ❌ https://example.com/título-com-acento ❌ not-a-valid-url ✅ ftp://example.com 5. Testando inserção simples na tabela pinfeeds...
Fatal error: Uncaught PDOException: There is no active transaction in /home/digupdog/public_html/backups/backup-20260124-215739/test-import-diagnostic.php:152 Stack trace: #0 /home/digupdog/public_html/backups/backup-20260124-215739/test-import-diagnostic.php(152): PDO->rollBack() #1 {main} thrown in /home/digupdog/public_html/backups/backup-20260124-215739/test-import-diagnostic.php on line 152