Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Erro Ao Usar Timthumb.php

Featured Replies

Postado

Fala Galera...

 

Estou repaginando nosso blog usando um novo template para wordpress porém estou com o seguinte problema.

O template cria automaticamente um slide e alguns posts em destaque na home, porém as imagens desses posts era para aparecerem em miniatura mas não ocorre isso e ao clicar onde deveria estar a imagem ocorre o seguinte erro:

Warning: php_uname() has been disabled for security reasons in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 220

Deprecated: Function eregi() is deprecated in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 232

Notice: Undefined index: extension in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 245

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 206

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/usercpanel/public_html/' is not a valid JPEG file in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 206
Unable to open image : /home/usercpanel/public_html/

Fiz uma pesquisa e encontrei alguns debates sobre o mesmo problema apontando como causa uma regra do mod_security que bloqueia o timthumb ,  mas não procede pois desabilitei as regras para essa conta e não funcionou do mesmo jeito.

 

Algum colega já passou por essa situação ou sabe o que pode estar causando o erro? Agradeço muito quem ajudar.


Postado
Warning: php_uname() has been disabled for security reasons in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 220

Esse erro indica que a função php_uname está desabilitada no php.ini, basta remover da linha disable_functions...

Deprecated: Function eregi() is deprecated in /home/usercpanel/public_html/wp-content/themes/yestilo/timthumb.php on line 232

A função eregi já não existe mais no PHP 5.3 ou 5.4 (não me recordo de cabeça), creio que você terá que fazer um dowgrade do PHP ou uma atualização do sistema, se não me engano é usado o preg_match no lugar do eregi



Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.