Jump to content

CodingJungle's Apps [support topic]


Recommended Posts

MGM v.1.0.5

My menu group wasn’t empty in the ACP...

The widget for the Second Menu now works in the front end, and I can now see what you meant when you said “ the error was caused by the selected menu group being empty,” as you have to choose the menu group in the widget itself (obviously), which I couldn’t previously do as it didn’t show me any options.

In ACP, I have a “Second Menu”, set to Hook/Widget in Manage Group, and I now changed to Block from Bar (just in case I had the wrong setting).
It contains 1 menu item (for testing purposes).

I now have the following problems in ACP:

- Show Preview doesn’t work, it shows Hook/Widget and nothing else
- Clicking Edit for menu item = blank page
- Clicking New Menu item = blank page

Errors are as follows:

- No system errors
- No errors in error_log in forum root
- Error /admin/error_log with widget only:

PHP Parse error:  syntax error, unexpected '?' in /home/mydomain/public_html/forum/applications/cjmg/sources/Form/Form.php on line 16

 

I forgot to not set “Second Menu” to show on all apps; so I edited it to show only on “Forums”. And tested moving it from sidebar to main block and back.

When the widget is set, System Errors now shows several errors like this one, every time I go to the front end, regardless of whether I’ve done anything in the ACP:

With Advanced set to hide on mobile:

<div class="cjmg_container">
    
    
<div id="second-menu_hw" class="cjmg ipsClearfix cjmg_loc_hw  cjmg_hide_mobile" >
    <nav id="second-menu_hw_nav" class="cjmg_nav ipsClearfix " data-ipscjmore>
        <ul id="second-menu_menu" class="ipsClearfix cjmg_bar " data-ipscjmgm data-ipscjmgm-settings="{"type":"0","behavior":2,"animation":"slide","speed":"regular","hover":500}">
            
                
                    
<li id="13" data-role="navItem" class="ipsClearfix cjmg_parent_item  cjmg_no_subs cjmg_skip_more" >
    <a id='elNavigation_app_cms' href="http://mydomain/forum/articles.html/"  class=" cjmg_click" style="">
        
        <span class="cjmg_name">b318b3c208a04f313999380b50e49cc0</span>
        

    </a>
    
</li>

                
                
                <li id="cjmg_more" class="ipsClearfix cjmg_parent_item cjmg_anchor
     ipsHide" data-role="navItem">
                    <a href="#"><span>c155caa54d46d0409f49777d1f3adfaf</span></a>
                    <i class="cjmg_arrow fa fa-angle-down pull-right"></i>
                    <div class="cjmg_mega cjmg_child_container ipsClearfix" style="z-index: 2000">
                        <ul class="cjmg_child_items ipsClearFix">
                        </ul>
                    </div>
                </li>
                
            
        </ul>
    </nav>
</div>


    
</div>

Backtrace:

#0 /home/mydomain/public_html/forum/applications/cjmg/widgets/cjmg.php(119): IPS\_Log::log('\n<div class="cj...')
#1 /home/mydomain/public_html/forum/system/Widget/Widget.php(797): IPS\cjmg\widgets\_cjmg->render()
#2 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(17488): IPS\_Widget->__toString()
#3 /home/mydomain/public_html/forum/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#4 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(14314): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#5 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(14314): IPS\Theme\SandboxedTemplate->widgetContainer('sidebar', 'vertical')
#6 /home/mydomain/public_html/forum/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->sidebar('right')
#7 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(6413): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#8 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(6413): IPS\Theme\SandboxedTemplate->sidebar('right')
#9 /home/mydomain/public_html/forum/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->globalTemplate('deb6bb4a6895776...', '\n\n<div class="i...', Array)
#10 /home/mydomain/public_html/forum/system/Dispatcher/Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#11 /home/mydomain/public_html/forum/system/Dispatcher/Dispatcher.php(166): IPS\Theme\SandboxedTemplate->globalTemplate('deb6bb4a6895776...', '\n\n<div class="i...', Array)
#12 /home/mydomain/public_html/forum/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish()
#13 /home/mydomain/public_html/forum/system/Dispatcher/Front.php(574): IPS\Dispatcher\_Standard->finish()
#14 /home/mydomain/public_html/forum/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Front->finish()
#15 /home/mydomain/public_html/forum/index.php(13): IPS\_Dispatcher->run()
#16 {main}

 

With Advanced set to show on mobile:

<div class="cjmg_container">
    
    
<div id="second-menu_hw" class="cjmg ipsClearfix cjmg_loc_hw " >
    <nav id="second-menu_hw_nav" class="cjmg_nav ipsClearfix " data-ipscjmore>
        <ul id="second-menu_menu" class="ipsClearfix cjmg_bar " data-ipscjmgm data-ipscjmgm-settings="{"type":"0","behavior":2,"animation":"slide","speed":"regular","hover":500}">
            
                
                    
<li id="13" data-role="navItem" class="ipsClearfix cjmg_parent_item  cjmg_no_subs cjmg_skip_more" >
    <a id='elNavigation_app_cms' href="http://mydomain/forum/articles.html/"  class=" cjmg_click" style="">
        
        <span class="cjmg_name">985bdbcc86685ae18ebaecfe0f5258d1</span>
        

    </a>
    
</li>

                
                
                <li id="cjmg_more" class="ipsClearfix cjmg_parent_item cjmg_anchor
     ipsHide" data-role="navItem">
                    <a href="#"><span>119dda6f2b4dd0032ee5fcd0e18100a7</span></a>
                    <i class="cjmg_arrow fa fa-angle-down pull-right"></i>
                    <div class="cjmg_mega cjmg_child_container ipsClearfix" style="z-index: 2000">
                        <ul class="cjmg_child_items ipsClearFix">
                        </ul>
                    </div>
                </li>
                
            
        </ul>
    </nav>
</div>


    
</div>

Backtrace:
#0 /home/mydomain/public_html/forum/applications/cjmg/widgets/cjmg.php(119): IPS\_Log::log('\n<div class="cj...')
#1 /home/mydomain/public_html/forum/system/Widget/Widget.php(797): IPS\cjmg\widgets\_cjmg->render()
#2 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(17488): IPS\_Widget->__toString()
#3 /home/mydomain/public_html/forum/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->widgetContainer('sidebar', 'vertical')
#4 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(14314): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array)
#5 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(14314): IPS\Theme\SandboxedTemplate->widgetContainer('sidebar', 'vertical')
#6 /home/mydomain/public_html/forum/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->sidebar('right')
#7 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(6413): IPS\Theme\_SandboxedTemplate->__call('sidebar', Array)
#8 /home/mydomain/public_html/forum/system/Theme/Theme.php(824) : eval()'d code(6413): IPS\Theme\SandboxedTemplate->sidebar('right')
#9 /home/mydomain/public_html/forum/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_front_global->globalTemplate('731e9e7db6af3a3...', '\n\n<div class="i...', Array)
#10 /home/mydomain/public_html/forum/system/Dispatcher/Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#11 /home/mydomain/public_html/forum/system/Dispatcher/Dispatcher.php(166): IPS\Theme\SandboxedTemplate->globalTemplate('731e9e7db6af3a3...', '\n\n<div class="i...', Array)
#12 /home/mydomain/public_html/forum/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish()
#13 /home/mydomain/public_html/forum/system/Dispatcher/Front.php(574): IPS\Dispatcher\_Standard->finish()
#14 /home/mydomain/public_html/forum/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Front->finish()
#15 /home/mydomain/public_html/forum/index.php(13): IPS\_Dispatcher->run()
#16 {main}

There’s no preview on my main menu either, it just says “Primary”. All of the above, when editing in ACP (no preview, blank pages), also happens on my main menu.

So, unfortunately, the app is now partly broken in ACP, due to the errors above.

I’m at a bit of a loss what to do now. I’m afraid I don’t have time to have to keep restoring from a backup or to uninstall and re-install v.1.0.3 and redo the main menu from scratch...

This is still only on my test forum, I daren’t try the upgrade on my live forum...

PS - I’ve just seen a new setting, in Themes > Edit, there’s a new tab for MGM down and sub arrows, to pick a fa icon! :-) This wasn’t mentioned anywhere as something new in either v1.0.4 or v.1.0.5? I haven’t tried it yet though.

Link to comment
On 9/2/2018 at 4:03 PM, Millipede said:

I now have the following problems in ACP: 

- Show Preview doesn’t work, it shows Hook/Widget and nothing else
- Clicking Edit for menu item = blank page
- Clicking New Menu item = blank page

Errors are as follows:

- No system errors
- No errors in error_log in forum root
- Error /admin/error_log with widget only:

Would there be any news on this, please?

Link to comment

I would be highly interested when the new babble chat version (major upgrade) will be ready. Is there any ETA?

We have a lot of problems with the chat bots and we really have to get rid of them, if there won't be a new version in the near future. The bots have been a good and funny idea during the introduction phase, but all my members are bored of the always and continuously happening same responses again and again and again. There are no chat bot response variations, no breaks, no pause.

Further more, my moderators report, that if a member gets regularly warned via the native IPS warning system (temporary ban as well as indefinite ban), the banned members are still able to go on chatting (while they are banned in the rest of the community and can't use other apps/functions). This seems to be a bug in the app.

Link to comment

Hi, regarding Name 2 Avatars 3.4.1 

Would you be able to ad feature or a new app for assigning random or order by avatar name number from a folder which contains eg. 200 avatars, with the option to assign separate avatars to male and female users.

The male and female option would trigger from an option to force members to select gender at signup. If no gender is selected, example when members use facebook or google to signup, a random none gender avatar would be assigned from a separate folder.

Also, feature to assign a random cover photo from a folder to members on sign up?

example, there would be a separate folder for storing the png photos below.

  1. Male avatar folder.
  2. Female avatar folder.
  3. Random avatar folder.
  4. Cover photos folder.

All photos in the folders would be named numerically eg. cover1.png cover2.png,  mavatar1.png, favatar2.png. or whatever is best. 

Thanks 

Edited by beats23
Link to comment

I am getting something close to this as well.

 

Error: Class name must be a valid object or a string (0)
 public_html/board/system/Helpers/Form/FormAbstract.php(264): IPS\Helpers\Form\_Node->html()
 /public_html/board/system/Helpers/Form/Form.php(415): IPS\Helpers\Form\_FormAbstract->rowHtml(Object(IPS\Helpers\Form))
 /public_html/board/system/Theme/Theme.php(824) : eval()'d code(1648): IPS\Helpers\_Form->__toString()
 /public_html/board/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_admin_global->globalTemplate('d839e11cfaff218...', Object(IPS\Helpers\Form), Array)
 public_html/board/system/Dispatcher/Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
 /public_html/board/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish()
 public_html/board/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Standard->finish()
public_html/board/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

 

Do I need install a newer version? Has this been fixed? I loaded what I thought the newest version and it works NOW on the front end. But when I go to look at settings I get this in the Admin CP. I was trying to go in and see if there was a size control for thumbnails on the category images

 

Link to comment

Two Bugs, Two Apps

Using Downloads Plus I have come across a bug, when enabled when you click the Report this file link instead of the text box to report what was wrong it just shows the file description.  Text entry box is missing.  When I disable the plugin "Report this file" works properly again.

On 9/2/2018 at 1:47 AM, Unlucky said:

It still appears duplicate member logger is not working and either sending out the pm's or banning the duplicate accounts

Please advise on when this will be fixed?

Many thanks

I have this issue as well, its better than nothing I just have to check it each day and do everything manually

Edited by Circo
Link to comment
On 9/2/2018 at 3:47 AM, Unlucky said:

It still appears duplicate member logger is not working and either sending out the pm's or banning the duplicate accounts

 

 

On 9/14/2018 at 11:37 PM, Circo said:

I have this issue as well, its better than nothing I just have to check it each day and do everything manually

 

so its the automated one that isn't working? cause last time it was reported, i tested the manual (since they both use the same code) and it was working there. must be a hiccup in the flow that is causing it then, i'll check it out.

 

On 9/14/2018 at 2:39 PM, RLPVT said:

Do I need install a newer version? Has this been fixed? I loaded what I thought the newest version and it works NOW on the front end. But when I go to look at settings I get this in the Admin CP. I was trying to go in and see if there was a size control for thumbnails on the category images

 

its not a bug, its a debug message, i meant to type in debug instead of log, that way it would only work if the constant is defined for it, its been fixed in this latest version.

On 9/11/2018 at 5:57 AM, Cyboman said:

I would be highly interested when the new babble chat version (major upgrade) will be ready. Is there any ETA?

 

working on UI and stabilizing the features i've added, all i can really say for ETA, possibly in the next 3 weeks or so. Since it is a huge upgrade from v2, i want to make sure everything is working and stable before releasing. 

On 9/11/2018 at 5:57 AM, Cyboman said:

Further more, my moderators report, that if a member gets regularly warned via the native IPS warning system (temporary ban as well as indefinite ban), the banned members are still able to go on chatting (while they are banned in the rest of the community and can't use other apps/functions). This seems to be a bug in the app.

check the rooms perms, does the banned group have permissions to use babble? if they don't and this is still possibly, i'll dive a bit deeper into what could be causing this. 

On 9/14/2018 at 11:37 PM, Circo said:

Using Downloads Plus I have come across a bug, when enabled when you click the Report this file link instead of the text box to report what was wrong it just shows the file description.  Text entry box is missing.  When I disable the plugin "Report this file" works properly again.

On 9/2/2018 at 3:47 AM, Unlucky said:

this has been fixed in the latest version of dplus.

On 9/12/2018 at 4:48 PM, beats23 said:

Hi, regarding Name 2 Avatars 3.4.1 

 

i'll reply in the PM you sent thanks. 

Link to comment

MGM v.1.0.6

Show Preview now works again, thanks.

However, I’m still getting these:
- Clicking New Menu item = blank page
- Clicking Edit for menu item = blank page

I now have yet another new problem:
When I open the block manager, I get a popup saying: “Couldn't get list of available blocks”. If I disable MGM, the block manager works again.

Forum root error_log:

Quote

PHP Parse error:  syntax error, unexpected '?' in /home/mydomain/public_html/forum/applications/cjmg/widgets/cjmg.php on line 23

Admin error_log:

Quote

PHP Parse error:  syntax error, unexpected '?' in /home/mydomain/public_html/forum/applications/cjmg/sources/Form/Form.php on line 27

Is there a way to backup the menus and settings and later re-import them, so’s I can uninstall and re-install MGM in the hope a fresh new installation will work without all these problems? I really don’t want to have to keep restoring from a full backup just to get v.1.0.3 back... as it's the only version that works for me, (apart from the script being at the bottom in the wrong place).

Link to comment
54 minutes ago, Millipede said:

MGM v.1.0.6

Show Preview now works again, thanks.

However, I’m still getting these:
- Clicking New Menu item = blank page
- Clicking Edit for menu item = blank page

I now have yet another new problem:
When I open the block manager, I get a popup saying: “Couldn't get list of available blocks”. If I disable MGM, the block manager works again.

Forum root error_log:

Admin error_log:

Is there a way to backup the menus and settings and later re-import them, so’s I can uninstall and re-install MGM in the hope a fresh new installation will work without all these problems? I really don’t want to have to keep restoring from a full backup just to get v.1.0.3 back... as it's the only version that works for me, (apart from the script being at the bottom in the wrong place).

what version of php are you on? MGM was developed using the new features of php 7.0+.

there haven't been any DB changes, you can just install the last working version over the new one. 

Link to comment
4 hours ago, CodingJungle said:

what version of php are you on?

PHP 5.6. I can upgrade to 7, I just haven't got round to it yet.

4 hours ago, CodingJungle said:

there haven't been any DB changes, you can just install the last working version over the new one. 

Oh, excellent, thanks for letting me know! :smile: I didn't realise one could downgrade, good to know, thanks.

Link to comment
26 minutes ago, Millipede said:

PHP 5.6. I can upgrade to 7, I just haven't got round to it yet.

4 hours ago, CodingJungle said:

yeah try going to php 7, as any new fixes (and eventually) i'll be rolling over to php 7+ syntax, doing a quick once over of the code for mgm, its in between this conversion, it has too many elements that are php 7+ syntax to go easily change. 

oh btw, don't go to php 7.3, as IPS's furl system doesn't work under php 7.3 (due to php 7.3 adopting pcre2, and the subtle changes in it).

Link to comment
On 9/14/2018 at 3:39 PM, RLPVT said:

I am getting something close to this as well.

 

Error: Class name must be a valid object or a string (0)
 public_html/board/system/Helpers/Form/FormAbstract.php(264): IPS\Helpers\Form\_Node->html()
 /public_html/board/system/Helpers/Form/Form.php(415): IPS\Helpers\Form\_FormAbstract->rowHtml(Object(IPS\Helpers\Form))
 /public_html/board/system/Theme/Theme.php(824) : eval()'d code(1648): IPS\Helpers\_Form->__toString()
 /public_html/board/system/Theme/SandboxedTemplate.php(58): IPS\Theme\class_core_admin_global->globalTemplate('d839e11cfaff218...', Object(IPS\Helpers\Form), Array)
 public_html/board/system/Dispatcher/Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
 /public_html/board/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish()
 public_html/board/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Standard->finish()
public_html/board/admin/index.php(14): IPS\_Dispatcher->run()
#8 {main}

 

Do I need install a newer version? Has this been fixed? I loaded what I thought the newest version and it works NOW on the front end. But when I go to look at settings I get this in the Admin CP. I was trying to go in and see if there was a size control for thumbnails on the category images

 

 

 

I am still getting this error on the media system with Media 2.1 in the Admin CP when I click on settings. Also I am wondering is there a way to control the size of the thumbnails in the category views? I went in the settings to see if it was there and I get this error or debug or whatever it is still

 

Link to comment
On 9/18/2018 at 8:41 PM, CodingJungle said:

so its the automated one that isn't working? cause last time it was reported, i tested the manual (since they both use the same code) and it was working there. must be a hiccup in the flow that is causing it then, i'll check it out.

Have you been able to duplicate the issue.  Would be sweet if it worked again.  It used to drive sales when it worked right. 

Link to comment
On 9/19/2018 at 10:49 PM, CodingJungle said:

yeah try going to php 7

I tried switching to PHP 7.2 (there’s no option for 7.3 in my cPanel), but I got the following error for both the front end and ACP:

Quote

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
...
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Yet a Joomla site that I have in another directory didn't show any such errors and opened fine, which makes me think it’s something to do the IPB installation.

My server was recently upgraded to use MariaDB and EasyApache 4, not that I know anything about either. Previously, I only had the PHP Selector, which is where I now switched to PHP 7; now I also have MultiPHP Manager, but I’ve no idea if I’m supposed to do something with this or not when switching PHP versions?

That said, PHP 5.6 is still supported on IPB 4.3, so I guess there’ll be others still using PHP 5.6. If more recent versions of MGM aren’t compatible with it, maybe the description should mention it?

In the meantime, I've switched back to PHP 5.6.

Edited by Millipede
Link to comment
On 9/21/2018 at 9:56 AM, RLPVT said:

I am still getting this error on the media system with Media 2.1 in the Admin CP when I click on settings. Also I am wondering is there a way to control the size of the thumbnails in the category views? I went in the settings to see if it was there and I get this error or debug or whatever it is still

 

it would seem you have an app installed that has a content router extension, but it doesn't have a container class (or it is missing the property for it).

i've put a check in the code to make sure this property is populated and/or the class actually exist before passing it to the form helper.

 

14 hours ago, Millipede said:

Yet a Joomla site that I have in another directory didn't show any such errors and opened fine, which makes me think it’s something to do the IPB installation.

My server was recently upgraded to use MariaDB and EasyApache 4, not that I know anything about either. Previously, I only had the PHP Selector, which is where I now switched to PHP 7; now I also have MultiPHP Manager, but I’ve no idea if I’m supposed to do something with this or not when switching PHP versions?

when i first activated php 7.2 on my cpanle/easyapache 4 server, it was missing the php-mbstring and php-mysql, and all i had to do was go rebuild it with the missing plugins and it worked fine, so i'd imagine it is something similar for you, as there are a few plugins IPS needs to run properly.

14 hours ago, Millipede said:

That said, PHP 5.6 is still supported on IPB 4.3, so I guess there’ll be others still using PHP 5.6. If more recent versions of MGM aren’t compatible with it, maybe the description should mention it?

 

I've gone ahead and rolled back to a early version of the codebase, before the php 7 syntax was introduced and then back ported the fixes (changing them to work in php 5.6 as well).  I will be releasing this shortly. 

most of my new stuff and new major versions for any of my apps will be written with php 7+ in mind. just a friendly reminder, php 5.6 and php 7.0 will reach EOL this december.

 

On 9/21/2018 at 1:31 PM, Circo said:

Have you been able to duplicate the issue.  Would be sweet if it worked again.  It used to drive sales when it worked right. 

its next in my queue to take a look at.

Link to comment
11 hours ago, CodingJungle said:

when i first activated php 7.2 on my cpanle/easyapache 4 server, it was missing the php-mbstring and php-mysql

PHP mbstring was already enabled (in “Extensions” in the “PHP Selector”); the one for mysql doesn’t exist in mine (I believe it’s deprecated in PHP 7), only for mysqli. I compared all the extensions I had in 5.6, and they’re the same in 7.2, except for mysqli.

I know PHP 5.6 will be EOL at the end of this year, so I’ve still got a bit of time left to try and figure out why I get the errors when switching to 7.2.

11 hours ago, CodingJungle said:

I've gone ahead and rolled back to a early version of the codebase, before the php 7 syntax was introduced and then back ported the fixes (changing them to work in php 5.6 as well).  I will be releasing this shortly. 

Thanks so much for fixing MGM 1.0.7, it works again for me now, yay! :biggrin:

Link to comment
  • 2 weeks later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...