Support

Admin Tools

#12593 After moving site: Uncaught ReferenceError: jQuery is not defined

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Friday, 08 June 2012 12:25 CDT

studio senero
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yesHave I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.4
PHP version: 5.3
MySQL version: 5
Host: (optional, but it helps us help you)
Admin Tools version: latest

Description of my issue: after moving my site to another hosting: Uncaught ReferenceError: jQuery is not defined

Hi. I get the above message on all my pages except the frontpage.
I used akeeba backup and kickstart and the restore went without any errors
If I look in developer mode woith google chrome I get the errors
The administrator works fine, do I have to change anything in Admin Tools?

thanks!

nicholas
Akeeba Staff
Manager
Is it possible to give me the URL to the site? Without it I am not sure what is going on. All I can understand from the error message is that some extension wants to load jQuery but for some reason it cannot. The URL would probably allow me to figure out why this happens.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

studio senero
Hi nicholas, here is the address:

test.vanburkum.nl

nicholas
Akeeba Staff
Manager
Your problem is quite different. Your pages throw a 500 Internal Server Error which is either a .htaccess issue or a PHP fatal error in disguise.

First, let's see if it is a .htaccess issue. Try renaming the .htaccess file in your site's root to htaccess.bak If there is a .htaccess file in the site's administrator directory, try renaming it as well. If that solves the problem, the issue was with a directive in your .htaccess file. We'd like to recommend you to try removing directives from your .htaccess until you find the one which causes the problem.

If that doesn't help, the error you are receiving is in fact a PHP error in disguise. First, check your server's error logs (not the access logs) immediately after visiting the page which throws the error. There should be an exact description of the PHP fatal error which occurred. Sometimes you can find the error messages in files called error_log or error.log inside the site's root and/or administrator directories. If unsure about the error log location, please consult your host. Most likely the error logs are available in your site's cPanel, Plesk control panel or similar hosting account management facility.

If your host does not give you access to the error logs and you have access to the Joomla! administrator area, please log in to your site's back-end, go to Global Configuration, click on the Server tab and set the Error Reporting to Maximum (Joomla! 1.5) or Development (Joomla! 2.x and later). Try visiting the problem page again.

If you still get a blank page, edit your configuration.php file and put the following code right after the final closing curly brace ( this is what a curly brace looks like --> } ) but before the closing PHP tag (it looks like ?> that is a question mark and a greater-than sign):
ini_set( 'display_errors', true );
error_reporting( E_ALL ); 
Try visiting the problem page again.

If you still get a white page, please remote the two lines from your configuration.php file. Edit the .htaccess file in your site's root. If you don't have a file named .htaccess create a new one. Beware that htaccess.txt is a DIFFERENT FILE and will NOT work! Add the following to the end of the file:
php_flag display_errors On
php_value error_reporting 32767
and retry loading the problem page.

If you still get a white page, remove the two lines from your .htaccess file. Now, create a file called php.ini with the following content:
display_errors=on
error_reporting=E_ALL
and upload it into your site's root and your site's administrator directory. Retry loading the problem page.

If you still get a white page, delete the php.ini files your created and choose a different host. If your host doesn't allow you to debug any PHP-related issues there is no point paying them.

Please note that if you can not understand what the PHP error message means, just copy and paste it here verbatim so that we can take a look and point you to the right direction.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

studio senero
Hi Nicolas,

thanks for your reply!
I don't get a Internal 500 on any of the pages, You do?

Can you try the link: test.vanburkum.nl/home or test.vanburkum.nl/ons-profiel ?
the first link works fine (home page) all the other pages don't give me any content (white) but I can see the menu and banner of the website on all the pages.

So the home page I see in a right way without errors.
When I view the source of the pages under the menu's I see white pages (pages without the articles on it which should be showing) The menu's and banner of the site are visible on every page. It seems all my variable content is blocked.

I turned error reporting on in Joomla and get this:
Fatal error: Call to undefined function imagecreatefromjpeg() in /var/www/02/47/63/vanburkum.nl/www/administrator/components/com_widgetkit/helpers/image.php on line 151

If I rename the .htaccess I get an error 404
there is no .htaccess file present in the administrators dir.
Should I do something else?

I hope to hear from you soon

nicholas
Akeeba Staff
Manager
I am examining the headers sent from the server. That's how I see that it reports a 500 Internal Server Error. You just see a page half-rendered. Hey, if you knew all the tricks I would be out of business, wouldn't I? :D

The error message you got was most helpful. It tells you that YooTheme's WidgetKit doesn't work properly. Give that error message to their support so that they can help you. Unfortunately, I can't provide support for third party software.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

studio senero
Hi Nicolas,

thanks for your respons.

the problem is solved, it was a php setting from the new hosting provider which was not set good (gd... something) They fixed it for me and now everything works fine!

thanks for your quick reply's!

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!