RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : July 25 05:20:20 AM
+  RSGallery2 Support Forums
|-+  RSgallery2 support forums
| |-+  RSgallery2 bugs & problems (Moderators: Jonah, Tomislav Ribicic, Daniel Tulp, Ronald Smit)
| | |-+  [PHP 4 users][PENDING] Error installing a template. helper class missing?
Advanced search
  « previous next »
Pages 1 2 3
Author
Sticky Topic Topic: [PHP 4 users][PENDING] Error installing a template. helper class missing?  (Read 17346 times)
« on: February 26 12:24:45 AM »
JULIANA SALES Offline
Newbie
*
Posts: 2

View Profile Email

Hi,


I install RSgallery2 recently. The version is 1.14.3 (SVN 649) but I am having trouble with to add new template. The error message is following:


"Warning: import(/home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/joomla/installer/helper.php) [function.import]: failed to open stream: No such file or directory in /home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import() [function.include]: Failed opening '/home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/joomla/installer/helper.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import(/home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/domit/xml_domit_lite_include.php) [function.import]: failed to open stream: No such file or directory in /home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import() [function.include]: Failed opening '/home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/domit/xml_domit_lite_include.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/veludo/public_html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Fatal error: Call to a member function on a non-object in /home/veludo/public_html/administrator/components/com_rsgallery2/options/templateManager/helpers/JInstallerRSGTemplate.php on line 49


Please, Help me!!!
 Huh
« Last Edit: March 07 11:13:29 PM by Jonah » Logged
 
Reply #1
« on: February 26 05:38:37 AM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

Ditto:

Am running 1.14.3 on Joomla! 1.0.13

Code:
Warning: import(.../html/components/com_rsgallery2/lib/j15backport/libraries/joomla/installer/helper.php): failed to open stream: No such file or directory in .../html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import(.../html/components/com_rsgallery2/lib/j15backport/libraries/joomla/installer/helper.php): failed to open stream: No such file or directory in .../html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import(): Failed opening '/.../html/components/com_rsgallery2/lib/j15backport/libraries/joomla/installer/helper.php' for inclusion (include_path='.:/usr/local/lib/php') in .../html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import(.../html/components/com_rsgallery2/lib/j15backport/libraries/domit/xml_domit_lite_include.php): failed to open stream: No such file or directory in .../html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import(.../html/components/com_rsgallery2/lib/j15backport/libraries/domit/xml_domit_lite_include.php): failed to open stream: No such file or directory in .../html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Warning: import(): Failed opening '.../html/components/com_rsgallery2/lib/j15backport/libraries/domit/xml_domit_lite_include.php' for inclusion (include_path='.:/usr/local/lib/php') in .../html/components/com_rsgallery2/lib/j15backport/libraries/loader.php on line 83

Fatal error: Call to a member function on a non-object in .../html/administrator/components/com_rsgallery2/options/templateManager/helpers/JInstallerRSGTemplate.php on line 49
Logged
 
Reply #2
« on: February 26 07:26:51 AM »
Brooke Offline
Newbie
*
Posts: 8

View Profile Email

I am getting that same error message... can anyone help?
Logged
 
Reply #3
« on: February 26 02:47:52 PM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

We'll need help from the azrul RSgallery2 (oops, was working on a JomComment / RSGallery2 issue yesterday with azrul!) team here... We need a copy of helper.php on our site.   It's missing from my installation.

Code:
components/com_rsgallery2/lib/j15backport/libraries/joomla/installer/helper.php

There are six other "helper.php" files in the installation, but I suspect we need an InstallerHelper class here.
« Last Edit: February 26 03:00:37 PM by Jon » Logged
 
Reply #4
« on: February 26 03:01:31 PM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

May be deeper than a simple file missing.   Is loader.php trying to bring in the wrong file path?
Logged
 
Reply #5
« on: February 26 03:05:17 PM »
Jonah Online
Administrator
Hero Member
*****
Posts: 1398

View Profile

Can someone install http://rsgallery2.net/nightly/legacy_branches/com_rsgallery2_legacy_importbug.zip  and try installing a template and paste back the full output in a code block?
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #6
« on: February 26 03:07:56 PM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

will give it a try....   Did you mean for this to look like a full install?  Or are there just a few files I can move?   I don't have time right now to do an install.  (GoDaddy!)
« Last Edit: February 26 03:10:02 PM by Jon » Logged
 
Reply #7
« on: February 26 03:18:04 PM »
Jonah Online
Administrator
Hero Member
*****
Posts: 1398

View Profile

Yes, but the only changed file is lib/j15backport/libraries/loader.php
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #8
« on: February 26 03:24:57 PM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

I have a JObject exception, want me to post it here?  Or do we have PM?
Logged
 
Reply #9
« on: February 26 03:31:49 PM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

Jonah, I sent it to you via PM.    Not sure why installer.helper is trying to load, either.   I'm not so familiar with your code but I'm suspecting a second order bug...

Jon
Logged
 
Reply #10
« on: February 26 05:10:00 PM »
Brooke Offline
Newbie
*
Posts: 8

View Profile Email

here's what I got...

Code:
jexception Object
(
    [level] => 1
    [code] => 1
    [message] => Why is this file being included???
    [info] =>
    [file] =>
    [line] => 0
    [function] =>
    [class] =>
    [type] =>
    [args] =>
    [backtrace] => Array
        (
            [0] => Array
                (
                    [function] => __construct
                    [class] => jexception
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1
                            [1] => 1
                            [2] => Why is this file being included???
                            [3] =>
                            [4] => 1
                        )

                )

            [1] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/components/com_rsgallery2/lib/j15backport/libraries/joomla/base/object.php
                    [line] => 49
                    [function] => call_user_func_array
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => jexception Object
                                        (
                                            [level] => 1
                                            [code] => 1
                                            [message] => Why is this file being included???
                                            [info] =>
                                            [file] =>
                                            [line] => 0
                                            [function] =>
                                            [class] =>
                                            [type] =>
                                            [args] =>
                                            [backtrace] => Array
 *RECURSION*
                                            [_errors] => Array
                                                (
                                                )

                                        )

                                    [1] => __construct
                                )

                            [1] => Array
                                (
                                    [0] => 1
                                    [1] => 1
                                    [2] => Why is this file being included???
                                    [3] =>
                                    [4] => 1
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/components/com_rsgallery2/lib/j15backport/libraries/joomla/utilities/error.php
                    [line] => 139
                    [function] => jobject
                    [class] => jexception
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1
                            [1] => 1
                            [2] => Why is this file being included???
                            [3] =>
                            [4] => 1
                        )

                )

            [3] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/components/com_rsgallery2/lib/j15backport/libraries/joomla/utilities/error.php
                    [line] => 174
                    [function] => raise
                    [class] => jerror
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 1
                            [1] => 1
                            [2] => Why is this file being included???
                            [3] =>
                            [4] => 1
                        )

                )

            [4] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/components/com_rsgallery2/lib/j15backport/libraries/loader.php
                    [line] => 84
                    [function] => raiseerror
                    [class] => jerror
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 1
                            [1] => Why is this file being included???
                        )

                )

            [5] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/components/com_rsgallery2/lib/j15backport/libraries/loader.php
                    [line] => 103
                    [function] => import
                    [class] => jloader
                    [type] => ::
                    [args] => Array
                        (
                            [0] => joomla.installer.helper
                            [1] =>
                            [2] => libraries.
                        )

                )

            [6] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/administrator/components/com_rsgallery2/options/templateManager/controller.php
                    [line] => 762
                    [function] => jimport
                    [args] => Array
                        (
                            [0] => joomla.installer.helper
                        )

                )

            [7] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/administrator/components/com_rsgallery2/options/templateManager/controller.php
                    [line] => 636
                    [function] => _getpackagefromupload
                    [class] => templatescontroller
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/administrator/components/com_rsgallery2/options/templateManager/admin.templates.php
                    [line] => 107
                    [function] => doinstall
                    [class] => templatescontroller
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [9] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/administrator/components/com_rsgallery2/admin.rsgallery2.php
                    [line] => 60
                    [args] => Array
                        (
                            [0] => /home/u4/skywalkerjones/html/administrator/components/com_rsgallery2/options/templateManager/admin.templates.php
                        )

                    [function] => require_once
                )

            [10] => Array
                (
                    [file] => /home/u4/skywalkerjones/html/administrator/index2.php
                    [line] => 69
                    [args] => Array
                        (
                            [0] => /home/u4/skywalkerjones/html/administrator/components/com_rsgallery2/admin.rsgallery2.php
                        )

                    [function] => require_once
                )

        )

    [_errors] => Array
        (
        )

)
[/code][/code]
Logged
 
Reply #11
« on: February 26 05:14:22 PM »
Jonah Online
Administrator
Hero Member
*****
Posts: 1398

View Profile

Thanks for the feedback guys, we'll have this one wrapped up soon.
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #12
« on: February 26 06:10:23 PM »
Jonah Online
Administrator
Hero Member
*****
Posts: 1398

View Profile

Should be fixed in r667.  Let me know!  try the latest RSG2 Nightly from http://rsgallery2.net/nightly/

Jon, changed files are:

options/templateManager/controller.php
lib/j15backport/libraries/joomla/factory.php
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Reply #13
« on: February 26 06:17:41 PM »
Jon Offline
Newbie
*
Posts: 28

View Profile Email

Hope I didn't foul something else up in my site.   I see this, now.

Code:
Fatal error: Call to a member function on a non-object in /home/content/m/i/s/mistolpatch/html/administrator/components/com_rsgallery2/options/templateManager/helpers/JInstallerRSGTemplate.php on line 49


*** Update:   I just reinstalled the build 669 package, same error.  Phew, thought I might have done something while I was nosing around controller.php .

I'm finding updates aren't really a problem.  Just uninstall / install and paste in the errant "INSERT INTO" statement into phpmysqladmin.
« Last Edit: February 26 06:25:29 PM by Jon » Logged
 
Reply #14
« on: February 26 07:00:32 PM »
Jonah Online
Administrator
Hero Member
*****
Posts: 1398

View Profile

And this is when installing a template right?

I was unable to reproduce the original error and I can't reproduce this one.  This is very odd.  What PHP version is everyone using here?  Jon, can you briefly describe what actions you take to reproduce this error?
Logged

Due to time constraints, I have taken a step back from RSGallery2.  In the event of an emergency, you will need to PM me.
 
Print  Pages 1 2 3
« previous next »
Jump to: