Forgot?

NinjaJournal fails installation

Reply Topic
Link to this post 23 Jun 11

I get an error while trying to install NinjaJournal component, I do not have any of the mentioned plugins on the "troubleshooter" page. I get the message "Please wait, checking for additional packages to install" loading forever.

I also get the message:

It was not possible to copy the chosen file.

I have checked that I have full writing rights in all folders etc.

What can be the problem?

Link to this post 23 Jun 11

I can also add that I have tried what is stated in this thread:

http://ninjaforge.com/forum/topic/24867-ninjajournal-installation-failure/25406

Same problem though, the pages are blank.

Link to this post 23 Jun 11

When you say blank pages, do you mean that it looks like the component output is missing, but the overall adminstrator UI loads fine?
Or that the page is completely white and blank?

Link to this post 24 Jun 11

In the backend (admin area) and the front-end (linked with a menu item) gives totally white pages with no output what so ever. I tried with only putting php.ini both in the joomla base directory and admininstrator folder, and only .htaccess file, I also tried having both present in the folder at the same time.

I was also planning on reinstalling the 3 plugins/components again (the one I downloaded + the two inside if I unzip) but when I uninstall one of the Ninja plugins my whole site went down, I luckily got it back up by extracting the content of it into my /administrator/components/com_ninja folder.

Link to this post 24 Jun 11

First check if you got Suhosin (it really sounds like you do) by going to the System Info page, and see if you see any mention of it.

If you do have it, then you have to contact your host as they've likely configured your server to not let you change these settings by .ini files or .htaccess.

Recommended uninstall order are the following:
1. Uninstall plg_system_ninja.
2. Uninstall com_ninja.
3. Uninstall com_extensions (which will uninstall Nooku framework completely, including com_default, mod_default and plg_system_koowa).

You're not using Joomla 1.6?

Link to this post 24 Jun 11

Yes I got Suhosin, and I am running Joomla 1.5 on that site.

Yeah I guess it's cause it doesn't load the .ini file (or .htaccess). It didn't show up in the phpinfo as one of the loaded configuration files.

I'll try to ask them, thanks :)

Link to this post 24 Jun 11

ok thanks.

FYI you can also check the value of:

 suhosin.executor.include.whitelist

on your phpinfo page, to quickly see if the value is applied.
If it is, it should say:
tmpl://, file://[/code]

Link to this post 24 Jun 11

Yeah I just checked it is empty, too bad I can't get to talk to the server administrator before monday though.

Link to this post 27 Jun 11

Hello again.

I got the site transferred over to another server without Suhosin, then it worked kind of. Except that in the backend when I go on the NinjaJournal component, the main menu doesn't work, also when trying to save, or even close the "window" when making a new project/todo's or similar it doesn't do anything. Is this a known issue? If so, how do I fix it? :)

Best regards
Sondre

Link to this post 28 Jun 11

Hello:)

Sounds like a JavaScript error happening. Could you fire up Google Chrome and open the Web Inspector to see if anything jumps out at you in the Console and report back your findings?
If so, I would be far more enabled to help you once we have that information :)

There are many things that could cause this, but from what you're telling me both the main menu and the toolbar isn't working, which means that the joomla js and ninjaboard js is failing. Those js files are very different, but the menu js is loaded after ninjaboards.
I don't know if the error happens before or by the ninjaboard js, but since the menu js fails to that means the error is a global one.

Global errors means they happen outside any functions, which makes it a bit easier to hunt down as very little of your js is running in a global context.
Usually this happens if you load two different versions of mootools at the same time for instance, or if some js that require mootools are loading before or without mootools itself. Causing a fatal error due to a script trying to use variables that don't exists.

Could you tell me more about your new server setup? Like Joomla version, PHP version, wether mtupgrade plugin is enabled or not, if you have any non-standard system plugins enabled or a non-standard admin template.

Thanks

Link to this post 28 Jun 11

Thank you for helping. First the javascript errors when trying to make a todo:

Uncaught TypeError: Object [object DOMWindow] has no method 'addEvent'
(anonymous function) index.php:22
Uncaught ReferenceError: Class is not defined
(anonymous function) menu.js:19
Uncaught TypeError: Object [object DOMWindow] has no method 'addEvent'
(anonymous function) index.js:26

The new place is also running Joomla 1.5.23, PHP version 5.2.10.

mtupgrade is enabled, I am not 100% sure about what plugins are standard, but I use JCE editor, Content - Email Cloaking and the Koowa and Ninja Framework.

The admin template I am using is: Khepri

Does it help anything? :)

Link to this post 29 Jun 11

Yes, now we know that the problem is that MooTools isn't loaded. That's why it complains about no addEvent method @ index.php.

That's a good thing, it's much easier to add something that is missing, than it is to fix something that's in conflict.

Could you post the contents of the <head> tag from the html output of the page?

That'll tell us what is loaded at least.

Thanks

Link to this post 29 Jun 11

I copied the head tag when I press save on a todo:

http://pastebin.com/X5c1sBcr

Link to this post 05 Jul 11

Don't want to rush you, but do you have any updates regarding my problem? :)

Link to this post 07 Jul 11

Hi, I notice that mootools isn't loaded at all in the backend there.

This is super strange, because mootools is normally loaded at all times throughout the entire administrator on Joomla 1.5.

Do you have any non-standard system plugins running?

Link to this post 07 Jul 11

Hello again, I am not sure what is standard, I took a picture of the plugins in the backend:

http://i.imgur.com/u9fK2.png

EDIT:

Taking a look on the source of other pages in the backend, mootools is loaded there, but not when I go to the NinjaJournal component.

Link to this post 07 Jul 11

Standard means what you have on a vanilla Joomla install.
In fact, the only thing you got there that is non-standard, are the things that NinjaJournal installs with it just like you said.

So you're pretty much vanilla. Only thing left to try is to upgrade/reinstall NinjaJournal.

I upgraded the NinjaJournal package earlier today with a new build, so that the Ninja Framework installed with it match the one that'll ship with Ninjaboard 1.1 in the next coming days.

Hopefully that'll fix it.

Link to this post 07 Jul 11

Umm, so I uninstalled it in the order you stated earlier in this thread, and downloaded the new version. Installing the zip file, and since the components didn't include any NinjaJournal I extracted the zip file and installed the com_ninja.zip file inside packages. But I still don't get any NinjaJournal component in the admin menu.

When going to plugins I have System - Ninja Framework, and going to components I have Ninja (but not in the menu).

I tried reinstalling once again, same thing =/

Link to this post 07 Jul 11

You shouldn't have to uninstall before installing the new version. In fact, you lose any NinjaJournal data you might have when you do.

In any case, your installation is broken and it's hard to tell why that is with the information I got on your server.
Another idea could be to install by url, using this url: http://ninjaforge.com/extensions/ninja-journal?format=file

Do you use the FTP layer? If so, that could be our troublemaker. It could also be related to the fact that our zip is around 2MB in size, which there have been cases before were some hosts have trouble with zips that size.
Installing by URL should work around that limitation though.

If that fail, only idea I got left is to contact your host asking for help as there isn't much I can do unless I got a super admin login so I can check the problem first hand.

Thanks

Link to this post 12 Jul 11

I am not sure about the FTP, I have FTP access if that is what you ask :)

Also the installation from URL didn't work out =/

But you can have Super Admin access if you send me a mail (I guess you can see it here on NinjaJournal as admin) else just tell me and I will write my e-mail here.

Thanks again
Sondre

Link to this post 12 Jul 11

Send me an email to "my first name @ this site" and I'll have a look.

Thanks

Link to this post 12 Jul 11

The install problem were a misnamed xml file in the zip.

I've updated the package on http://ninjaforge.com/extensions/ninja-journal with the fix.

Cheers

Link to this post 12 Jul 11

Now everything works (almost), there is one thing I found when testing, when trying to log in from the front-end (making a menu item use the NinjaJournal component) you get redirected wrong. I checked the url and it seems that instead of going to ..../index.php?vars=here it goes to ..../index?vars=here which leads to a 404 page =/ Does this have an easy fix? I went through the php files in the NinjaJournal component, but I couldn't find anywhere that this was used.

Link to this post 12 Jul 11

That's the first time I've heard of that happening.
We're reusing com_user for it, so should just work (in fact Ninjaboard do the same trick).

Does this happen in any other component? If you make a login menu item to com_user does it happen there?

Link to this post 12 Jul 11

Hmm I notice some strange behaviour. If I make a normal Joomla login, it works. Let's say I type wrong login so it gives me an error message, then I can go to the ninja journal page, at it will work, if I type wrong login there it will give me correct error message, if I type correct it logs me in. But if I after f.ex. typing wrong login at the ninja journal login page, I reload the page (F5) and try to log in it goes to index without PHP (leading to a 404), same happens if I don't go to the normal login-page first.

I don't expect you to have time, but if you do you could check it out on the page, the menu element Indmeldelse has a normal login page, while the menu element test has a ninja journal login (the menu element is under the menu slightly visible since it's not supposed to be there when it's done) :)

Regards
Sondre

Link to this post 12 Jul 11

I'll give it a look tomorrow :)

Link to this post 13 Jul 11

Tested a few times today, and it seems to only bug out occasionally :s

Link to this post 15 Jul 11

Do you have an error log on your host that you could look at?
Some error messages might get lost during redirects, but they'll show up in the log.

Home Forum Joomla Extension Support NinjaJournal NinjaJournal fails installation