Problems installing casino

Started by swan, August 11, 2009, 04:48:23 PM

Previous topic - Next topic

swan

Hiya

Wonder if you could help.  We have just upgraded to Powered by SMF 2.0 RC1.2

But for some reason we are having problems with this mod.  Can anyone help us please

This is the error we are getting 

Fatal error: require_once() [function.require]: Failed opening required '/home/totzrusc/public_html/forum/Sources/casino/CasinoPortal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/totzrusc/public_html/forum/index.php on line 351

Arantor

Looks like the CasinoPortal.php file is missing from Sources/casino. Please ensure this file exists, first of all.

swan

In the package?  Or in the forum itself?

Arantor

It should be in the forum itself, provided by the package.

swan

Hmmm nope cant see it anywhere.  Where do i get it from to upload to the forum?

Arantor

It should be in the mod file. If you don't have the original mod, you can try looking through the Mod site for it. (Note if you had it installed before and not now, there might be a Zip file in Packages/, in which case it should be installable via the Package Manager)

swan

I uploaded it through package manager and thats how i got the error.  Im confused lol. 

When i look in sources i cant see nothing to do with the casino.

Am i looking in the right place or is my blondness shinning through again lol

Arantor

So you were looking through the package manager... what exactly did you click on before getting the error?

swan

Once i instal the mod the button shows on the forum menutab once i click that i get this

Fatal error: require_once() [function.require]: Failed opening required '/home/totzrusc/public_html/forum/Sources/casino/CasinoPortal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/totzrusc/public_html/forum/index.php on line 355

swan

And this is the code that is on that line


require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);

Arantor

Then the mod file is missing some bits and pieces it should have been.

Did you get any errors while installing the mod?

swan


Arantor

Uninstall the mod, then install it again - please post a list of all the operations it's trying to do (as part of the 'test' procedure)

swan

Oh god

Didnt have no errors installing it but i just gonna uninstal it and got this


Uninstall Actions "The Casino":
Installing this package will perform the following actions:
      Type    Action    Description
   1.    Execute Code    uninstallScript.php    
*    2.    Execute Modification    ./Sources/Admin.php    Test failed
      1.    Replace    ./Sources/Admin.php    Test failed
*    3.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Replace    ./Sources/Load.php    Test failed
      2.    Replace    ./Sources/Load.php    Test failed
      3.    Replace    ./Sources/Load.php    Test failed
      4.    Replace    ./Sources/Load.php    Test failed
      5.    Replace    ./Sources/Load.php    Test failed
*    4.    Execute Modification    ./Sources/Subs.php    Test failed
      1.    Replace    ./Sources/Subs.php    Test failed
*    5.    Execute Modification    ./index.php    Test successful
      1.    Replace    ./index.php    Test successful
*    6.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test successful
*    7.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Replace    ./Themes/default/languages/index.english.php    Test successful
*    8.    Execute Modification    ./Sources/Subs-Members.php    Test failed
      1.    Replace    ./Sources/Subs-Members.php    Test failed
*    9.    Execute Modification    ./Sources/Subs-Post.php    Test failed
      1.    Replace    ./Sources/Subs-Post.php    Test failed
   10.    Delete Tree    ./Sources/casino    
   11.    Delete Tree    ./Themes/default/images/casino/dice    
   12.    Delete Tree    ./Themes/default/images/casino/twentyone    
   13.    Delete Tree    ./Themes/default/images/casino/seven    
   14.    Delete File    ./Themes/default/languages/Casino.english.php    
   15.    Delete File    ./Themes/default/Casino.template.php    
   16.    Delete File    ./Themes/default/CasinoAdmin.template.php

Arantor

Hmmm, the mod looks like it's half installed, or been modified by other mods.

Do you have any other mods installed?

swan

No none at all this was the first one i tried since upgrading. 

Arantor


swan

We were on 1.1.9

and now we are Powered by SMF 2.0 RC1.2

Arantor

Well, the mod should work on RC1.2 without any problems.

It might be worth posting in their topic, because hopefully they should know more about it, unfortunately I'm out of ideas :(

swan

ok thanks very much for your help i'll go post in there and link them to here lol

Advertisement: