Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: SES on October 15, 2011, 04:18:28 PM

Title: Mod Install not working
Post by: SES on October 15, 2011, 04:18:28 PM
Hi,
I had an SMF 1.10 Board on a server.
Now I downloaded the whole board + database, uploaded it on a new space. Upgraded the board to 2.01.
Everything seems to work.
But i can't install mods... every mod install says a error in a xml-file.
If i try to install it "Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/bla.de/subdomains/dod/httpdocs/Board/Packages/temp/./arcadeinstall/Database.php' (include_path='.:') in /var/www/vhosts/bla.de/subdomains/dod/httpdocs/Board/Sources/Packages.php on line 938"

Searched and searched... tried temp/tmp directory and repair_settings.php
Still the problem... maybe some can help? :)
Title: Re: Mod Install not working
Post by: kat on October 15, 2011, 04:24:29 PM
A specific mod? Or any mod?

Which xml file is it failing on?

First off, can you check a couple of things, with your new host?

Is "Mod security" tuned on and do you have full ownership (CHOWN) of the files on your site?

I suspect it's one of those last two that's causing you problems.
Title: Re: Mod Install not working
Post by: SES on October 15, 2011, 04:35:30 PM
I tried SMF Arcade and Todays Birthday.
Arcade: Error on language/english/english.xml
Birthday: install-2.xml

Mod Security isn't installed i think. Don't really know about CHOWN, but i think yes. I log into the main ftp account to use this subdomain. And the Main FTP = owner of server. SoI think full ownership. And 777 chmod everywhere...
Title: Re: Mod Install not working
Post by: kat on October 15, 2011, 04:43:03 PM
There's a huge difference between CHMOD (http://en.wikipedia.org/wiki/Chmod) and CHOWN (http://en.wikipedia.org/wiki/Chown).

You can't set that, yourself.

Your host will have to do it.
Title: Re: Mod Install not working
Post by: SES on October 15, 2011, 06:12:43 PM
My own server ;)
CHOWN for complete board is now the root... still same error.
Title: Re: Mod Install not working
Post by: SES on October 26, 2011, 04:27:17 PM
mh push... no one an idea?!
Title: Re: Mod Install not working
Post by: kat on October 26, 2011, 04:58:06 PM
One thing puzzles me...

Failed opening required '/var/www/vhosts/bla.de/subdomains/dod/httpdocs/Board/Packages/temp/./arcadeinstall

I wonder where the "/./" is coming from.

That looks exceedingly weird, to me.

Any ideas?

The arcade's a weird mod, though.

What are the errors like, for other mods?
Title: Re: Mod Install not working
Post by: SES on October 26, 2011, 05:04:15 PM
SMF Gallery:

Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/psd-dreams.de/subdomains/dod/httpdocs/Board/Packages/temp/./galleryinstall2.php' (include_path='.:') in /var/www/vhosts/psd-dreams.de/subdomains/dod/httpdocs/Board/Sources/Packages.php on line 938

Yes, the "/./" seems to be a problem... but how can i fix this ...
Title: Re: Mod Install not working
Post by: Illori on October 26, 2011, 05:09:31 PM
try to extract the package into a folder in the packages folder and see if you can install it that way.
Title: Re: Mod Install not working
Post by: kat on October 26, 2011, 05:12:12 PM
(include_path='.:')

That's kinda weird, too.
Title: Re: Mod Install not working
Post by: SES on October 26, 2011, 05:30:46 PM
@Illori

did this... error:
"Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/psd-dreams.de/subdomains/dod/httpdocs/Board/Packages/temp/arcadeinstall/Database.php' (include_path='.:') in /var/www/vhosts/psd-dreams.de/subdomains/dod/httpdocs/Board/Sources/Packages.php on line 938"

i think this could be maybe important too?!:

QuoteBefehl:   CWD temp
Antwort:   550 temp: No such file or directory
Fehler:   Verzeichnisinhalt konnte nicht empfangen werden
Status:   Erstelle Verzeichnis '/subdomains/dod/httpdocs/Board/Packages/temp'...
Befehl:   CWD /subdomains/dod/httpdocs/Board/Packages
Antwort:   250 CWD command successful
Befehl:   MKD temp
Antwort:   550 temp: File exists
Title: Re: Mod Install not working
Post by: Illori on October 26, 2011, 05:32:29 PM
maybe if it was in english i could tell you more
Title: Re: Mod Install not working
Post by: SES on October 26, 2011, 05:34:22 PM
sorry, here english

QuoteCommand:   CWD temp
Response:   550 temp: No such file or directory
Error:   Failed to retrieve directory listing
Status:   Creating directory '/subdomains/dod/httpdocs/Board/Packages/temp'...
Command:   CWD /subdomains/dod/httpdocs/Board/Packages
Response:   250 CWD command successful
Command:   MKD temp
Response:   550 temp: File exists
Title: Re: Mod Install not working
Post by: Illori on October 26, 2011, 05:36:01 PM
try removing the temp directory and let the server create a new one when you try to do the mod install.
Title: Re: Mod Install not working
Post by: SES on October 26, 2011, 05:41:46 PM
Removed the temp and tmp directories:

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"
Title: Re: Mod Install not working
Post by: Illori on October 26, 2011, 05:43:13 PM
try creating one :P and make sure the packages folder is writable by the server
Title: Re: Mod Install not working
Post by: SES on October 26, 2011, 05:45:19 PM
created temp directory
old errors again ...
50. Execute Modification language/english/english.xml Modification parse error
51. Execute Modification language/english/english.xml Modification parse error


QuoteFatal error: require() [function.require]: Failed opening required '/var/www/vhosts/psd-dreams.de/subdomains/dod/httpdocs/Board/Packages/temp/arcadeinstall/Database.php' (include_path='.:') in /var/www/vhosts/psd-dreams.de/subdomains/dod/httpdocs/Board/Sources/Packages.php on line 938
Title: Re: Mod Install not working
Post by: Illori on October 26, 2011, 05:46:35 PM
no idea on that other then maybe your server cant read xml files or something. you could try searching the forum and see what you can find about that first error.
Title: Re: Mod Install not working
Post by: kat on October 27, 2011, 08:59:28 AM
Just thinking out-loud, here...

The mods you're installing....

They ARE compatible with SMF v2.0.1, aren't they?
Title: Re: Mod Install not working
Post by: Illori on October 27, 2011, 09:02:38 AM
even if they are not compatible with 2.0.1 the error message would be different from what is being shown, and with version emulation it is possible to install mods that are not updated.
Title: Re: Mod Install not working
Post by: SES on October 27, 2011, 10:23:27 AM
Yes they are compatible ;)