1
jezjones24
The Big Javascript secret
  • 2009/5/11 11:23

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Hi everyone,

I have found almost no mention of Javscript on this site or in the documentation.
I am having conflicts between my own onload functions and some XOOPS ones, but it is not clear what the XOOPS functions are for or whether i can turn them off.


Also there does not appear to be any way to put module specific JS in a page.
I can only add links to CSS or JS from the theme file, which is constant for the whole site.

Any suggestions on where i can find out about the JS being used in xoops.



2
jezjones24
Re: Module install fails silently
  • 2009/5/8 15:29

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


I have managed to fix this... so here is the details;-

My local (dev) install is a fairly fresh install but not by any real measure.
The live install has been running for about a year.
Versions:
>php 5.2.5
>MySql 5.0.45-community-nt
>Apache 2.2.6
> XOOPS 2.3

The reason i was able to do it locally is it seems that i am the Admin user.
On the live system i am a Webmaster.

Although i have not seen it anywhere in the docs, it does seem that there is some limitation on admin actions. i.e. there is One Admin user that is more powerful than others. The live setup has a number of webmasters, but it is only the Administrator account that can modify modules.
Checking in the 'modify user' section of the admin area, my account has all the same settings as Administrator, which is why i did not think it was a permissions issue.

This is not something that we (myself and my boss) has done, the plan originally was to use XOOPS for its user and group functions so there has been no alteration to that aspect of xoops.


Thanks for your response, hopefully this is the true reason for it, but we'll see...



3
jezjones24
Module install fails silently

So i keep having this problem and i cannot find any debug info to start looking for the error.

When i click on the update module buttons in the admin area, i get the confirmation screen with an update or cancel button.
When i click update it should tell me which files it has added to the DB.

This does not happen, it just returns to the module list page.
No errors. When i turn on debug it gives me no errors either as it is not the confirmation page nor the module list page that is at fault.

This happens with both my own Webmaster account and with another account. Also it does not appear to be restricted to any particular module.

I can often repeat it and it is very problematic as i cannot update the site anymore, if an module update fails then it should tell me SOMETHING.

Any ideas what is being checked here... and what would cause a silent failure?????

Thanks in advance.



4
jezjones24
Re: Looking to write XOOPS module book...
  • 2009/4/21 14:28

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


I have developed a number of modules for our implementation of Xoops, these are not released as they are not generic, nor used online (its an intranet).

However to answer your first question, No, i would not buy a book on a project such as xoops. There is already XOOPS books but based on the fragmented and difficult to find documentation, i would expect too much from a book and i would expect it to cover many versions of xoops.

Also i am a little concerned about the XOOPS project, as not only is the docs fragmented, there seems to be alot of fragmentation in the project itself.

Although i think the code is good, i would not use XOOPS for future projects where i had a choice, purely down to the difficulty in finding useful documentation. Another book would only add to the mess.



5
jezjones24
Re: Where is a list of the admin errors and what they mean?
  • 2009/3/31 14:45

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Well yes if you would not mind... although that would raise another question... where is list of "where to post you questions"...
For this question, i would consider the following forums ;-

2.3.x Support (although the sub heading mentions installation)
Q and A
Fixed Bugs / FAQ (Read-Only)


Without being too critical, is it time to purge some forums or clearly separate 'vanilla users', 'admins', 'developers using XOOPS - modules & themes', 'core developers - being messing with XOOPS itself'

.. since my problem is not with XOOPS but with finding the info to help debug... really i shouldn't need to post to a forum to get an explanation of an error message.



#####################

Just been taking a look at the Module development forum and i dont think this is appropriate for that area, as it is fairly strict about what you should post there... and also suggests other forums to post to... in the meantime is there a link somewhere to the documentation as i am just trying to find the bit of text that 'should' be in a document somewhere describing what causes this error... if an error is generated then someone thought it was worth 'throwing', surely???



6
jezjones24
Where is a list of the admin errors and what they mean?
  • 2009/3/31 9:24

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Hi All,
I have developed a module (not my first) on my local install of xoops. Only on moving to the live system and updating the module i get the following error.
Quote:

ERROR: Could not insert template to the database

This was after listing ALL the templates in the modules with 'inserted in database' and 'recompiled'.

I have searched this forum (and the others on this site) and the link to the wiki, but i cannot find a list of error messages and some explanation for them... can anyone point me to this list or explain this error.

Thanks.



7
jezjones24
Re: Install module fails silently
  • 2009/3/9 17:31

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Right the reason this was happening was mainly due to a problem with my user account.
I should have been a full admin user;-
In the group 'webmasters' and with full permissions, but i did not have the right rank in user details under 'Rank'. This was not set atall, fixing it by logging in as another admin account made everything work.

Thanks for your help.



8
jezjones24
Re: Install module fails silently
  • 2009/3/9 16:30

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Its seems that some stuff is not going into the DB.
The module is not in the DB, but then i would not have expected it to be yet..... but the debug value in the config table ;-

do_debug | _MI_DO_DEBUG

is set to 0



9
jezjones24
Re: Install module fails silently
  • 2009/3/9 16:05

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Xoops 2.3

Thanks for the hint, i have done that now. i.e. we are running in Debug mode, however this does not seem to alter anything. Symptoms same as before.



10
jezjones24
Install module fails silently
  • 2009/3/9 15:50

  • jezjones24

  • Just popping in

  • Posts: 17

  • Since: 2009/2/23


Hi All,
When i am installing a new custom module it appears in the module list in Admin area.

After clicking on install I get the confirmation message, then when it should show me the list of the files being added to the DB, it just goes back to the module admin list.

This module does work on my local install of XOOPS (which was copied from the live, so same version numbers for everything).
This happened the other day aswell but when i tried again later it worked.

Can anyone tell me how i start to debug what is causing this.
I have removed and recopied the module folder over and checked my xoops_version.php

Thanks




TopTop
(1) 2 »



Login

Who's Online

177 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits