solved integrity check hanging

blindmime
@blindmime
11 years ago
772 posts
Integrity check is hanging at repairing table: jr_jraction_item

It was hanging for a long while, so I tried backing out and I may have messed things up.
updated by @blindmime: 04/09/14 03:31:30PM
brian
@brian
11 years ago
10,149 posts
blindmime:
Integrity check is hanging at repairing table: jr_jraction_item

It was hanging for a long while, so I tried backing out and I may have messed things up.

You may need to go into something like phpMyAdmin and see what's up with that specific table, and "repair" it from there if needed.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
blindmime
@blindmime
11 years ago
772 posts
I did that but afterwards, running integrity check hangs there still. So I tried just check the "repair tables" box and that works OK. Caches and Templates check through OK. But trying the Module check hangs at the very start.

This is happening after running the Aparna module. I had run Integrity Check before on this site.
blindmime
@blindmime
11 years ago
772 posts
Also /core/admin/global is a blank page.
brian
@brian
11 years ago
10,149 posts
Blank page means PHP error - what do you see in your PHP error log? I'm going to guess it is hanging on a module cloned by Aparna - try disabling the new module (or Aparna) and see if it gets through.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
blindmime
@blindmime
11 years ago
772 posts
I can't get to the place where you disable that module. What if I delete it via FTP?
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
Don't delete via ftp. Disable in the db phpmyadmin instead, adminer seems buggy, some links do not work (from memory, the top actions button leads to a 404).


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
11 years ago
10,149 posts
blindmime:
I can't get to the place where you disable that module. What if I delete it via FTP?

Yeah don't delete it via FTP. If you can get into the DB, just set the "module_active" column to "0" for the modules you want to deactivate in the jr_jrcore_module table, then truncate the jr_jrcore_cache table.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
blindmime
@blindmime
11 years ago
772 posts
The module I created via Aparna is not showing in jr_jrcore_module. I named it something like agBidSheet. There are 24 modules listed. I do see it in FTP
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
I doubt that creating it via aparna is relevant.

If it appears in ftp, you have done an integrity check, and your module still doesn't appear, your module has errors and you need to fix those before it will appear.

What happens if you create the module via aparna, make no changes, and then look via ftp? Does that new module work as expected?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 02/24/14 02:16:35PM
blindmime
@blindmime
11 years ago
772 posts
I can't get to aparna/admin/tools

This began happening immediately after I created a module with aparna. After the module was created there is a button saying to run an Integrity Check. I clicked the button and it hung trying to validate modules.
updated by @blindmime: 02/24/14 02:48:07PM
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
Quote: This began happening immediately after I created a module with aparna.
ok, I'm not ana parna user, but it does just clone the base module? (I think)

The inevitable question: what shows in your error log?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
blindmime
@blindmime
11 years ago
772 posts
I'm seeing a bunch of these:
[24-Feb-2014 20:22:54 Europe/Dublin] PHP Fatal error: Call to undefined function agBidSheet_meta() in modules/jrCore/lib/module.php on line 197

agBidSheet is the module I created via aparna

I see a couple of these:

[24-Feb-2014 20:43:23 Europe/Dublin] PHP Warning: Unterminated comment starting line 2 in skins/jrBlank-release-1.0.1/lang/en-US.php on line 2
blindmime
@blindmime
11 years ago
772 posts
It looks like we have a similar naming error in my module's include.php file as we did with the skin cloning issue we were having a day or two ago.

The include.php file for agBidSheet has this:

/**
* meta
*/
function jrBidSheet_meta() {
$x = 'anrapArj';
$_tmp = array(
'name' => 'BidSheet',
'url' => 'bidsheet',
'version' => '1.0.1',
'developer' => 'The Jamroom Network, ©' . strftime('%Y'),
'description' => 'A module created by '.strrev($x),
'category' => 'tools'
);
return $_tmp;
}

/**
* init
*/
function jrBidSheet_init()
{
// Allow admin to customize our forms
jrCore_register_module_feature('jrCore','designer_form','jrBidSheet','create');
jrCore_register_module_feature('jrCore','designer_form','jrBidSheet','update');

// Core support
jrCore_register_module_feature('jrCore','quota_support','jrBidSheet','on');
jrCore_register_module_feature('jrCore','pending_support','jrBidSheet','on');

etc.
blindmime
@blindmime
11 years ago
772 posts
Find and replacing the correct name fixed the issue.
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
"PHP Fatal error" may lead to the solution.

Maybe either a problem with the way aparna creates clones of modules, or you have an error in the module you are cloning from.

Forget the php warnings again. As you already know, they are php warnings, thats all.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
Is there somewhere in aparna for you to enter your developer prefix?


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
blindmime
@blindmime
11 years ago
772 posts
Aparna doesn't clone a module of your choice, unlike the skin cloning function, it simply makes a basic module you can start with. There's a field to enter a module name, the help text says to begin the name with two characters then a name with standard naming convention. Like xxModuleName. However, when creating the include.php file, it ignores "xx" and uses "jr" thereby causing a reference error when Jamroom expects "xxModuleName" there.

The error which needs fixing seems identical to the error in the skin cloning function which was addressed recently. Brian and Michael should recall this.
blindmime
@blindmime
11 years ago
772 posts
Aparna is also creating the wrong name in all the created module's php files and tpl files.

Only the language file appears to be unscathed.
brian
@brian
11 years ago
10,149 posts
Yeah this is probably similar to what was happening with the clone skin earlier, since both use the same functionality to do their renaming. We'll check this out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,149 posts
This should be fixed now in Aparna 1.0.4 - let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
blindmime
@blindmime
11 years ago
772 posts
Thanks, it seems to be working now.
brian
@brian
11 years ago
10,149 posts
blindmime:
Thanks, it seems to be working now.

Glad to hear it - thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
11 years ago
2,589 posts
blindmime:
Aparna doesn't clone a module of your choice, unlike the skin cloning function, it simply makes a basic module you can start with.

Thanks blindmime, that's good to know. I thought it worked like skin cloning.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
blindmime
@blindmime
11 years ago
772 posts
It's very nice. Let's you easily make your own module, configure your own form, grant access to specific quotas where it shows with other modules, and then output submitted information where you wish on your site.

Tags