I`ve change my host. I had SMF 2.0 RC1.2
I had some theme error and mods, What to install to have a clean SMF 2.0 RC1.2?
I`ve overwrite the SMF 2.0 RC1.2 upgrade... But packege manager doesn`t work.
Why ? and what is the best way to make a new RC 1.2 install?
You probably are having issues because the file paths and URL's are wrong in the Settings, if you are comfortable editing PHP, edit Settings.php and change the settings to match your current host.
If not look at What is Repair_Settings.php? (http://docs.simplemachines.org/index.php?topic=663.0)
I`ve use it. Still no work...
Don't post the contents of Settings.php, but open it in a text editor and make sure the settings match your current host.
If you want to start a clean install of SMF 2.0 RC2, either click here (http://www.download.simplemachines.org) or download my attachment (which is a fresh install of SMF 2.0 RC2.) and upload it to your desired forum path (make sure there are no other SMF files or folders in that path from previous installations, or just make a new folder for the new installation.) then un-zip the download and run the install.php file by going to it in your browser (http://www.yourdomain.com/forumpath/install.php).
That should work for you. (Also make sure, if you're using the same database as another SMF install you change the new installations DB prefix from smf_ to something new.)
Quote from: Labradoodle-360 on December 10, 2009, 11:45:50 AM
If you want to start a clean install of SMF 2.0 RC2, either click here (http://www.download.simplemachines.org) or download my attachment (which is a fresh install of SMF 2.0 RC2.) and upload it to your desired forum path (make sure there are no other SMF files or folders in that path from previous installations, or just make a new folder for the new installation.) then un-zip the download and run the install.php file by going to it in your browser (http://www.yourdomain.com/forumpath/install.php).
That should work for you. (Also make sure, if you're using the same database as another SMF install you change the new installations DB prefix from smf_ to something new.)
I`ve started a clean SMF 2.0 RC1.2, but it says that i still have thooose packages isntaled, and i can`t isntal pther becouse it says the package directory is not writable although it have 777 permision (all files and folders from it)
So you uploaded a clean copy of SMF 2.0 RC2 and it's still saying they're packages installed?
As of 2.0, all the package data is stored in a table in the database, so you will also need to purge the log_packages table.
Quote from: Arantor on December 11, 2009, 09:00:57 AM
As of 2.0, all the package data is stored in a table in the database, so you will also need to purge the log_packages table.
You meen to delete it ?
No, I mean empty it. Deleting it will break the package manager.
But why it always say that the folder Package is not writeble?
What are the permissions on the Packages folder?
I`ve empty the table. It`s ok with "installed" old package.
The folder permision are 777 (and al files in it have 777).
QuoteYou cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb.tar.gz
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2424
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb.tar.gz
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/default/ManageBoards.template.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2417
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb.tar.gz
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2424
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb.tar.gz
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/default/languages/Modifications.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2417
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb.tar.gz
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/default/languages/Modifications.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2417
Some errors
The rest of the files also need to be writable - the package manager physically modifies SMF files when installing mods.
All files from fodler Package are writeble...
What about the Sources and Themes folders? Those are the files physically altered during package installation and as per the errors in your error log... Themes/default/languages/Modifications.english.php and Themes/default/ManageBoards.template.php at least are not writable.
Modifications.english.php and ManageBoards.template.php wasn`t writable.
The source and Theme folder are writeble (only the directory)
Correct. And the mod modifies them so they need to be, just as the error message says:
Quotefopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/default/languages/Modifications.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Still the same problem... all files from Sources need to be writable?
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Probably, yes. You only posted some of the errors. Look through the error log to see which files need to be writable.
Note, this will happen on ANY mod installation.
Apply Filter: Only show the errors with the same message
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/new_one) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Packages.php
Line: 1746
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=perms;d541d6ca538=3eccc007c7f87786e8b3a8fb1dd58fd8
Apply Filter: Only show the errors with the same message
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/darkbreak) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Packages.php
Line: 1746
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=perms;d541d6ca538=3eccc007c7f87786e8b3a8fb1dd58fd8
Apply Filter: Only show the errors with the same message
2: is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/..) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Packages.php
Line: 1800
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=perms;d541d6ca538=3eccc007c7f87786e8b3a8fb1dd58fd8
Apply Filter: Only show the errors with the same message
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/new_one) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Packages.php
Line: 1746
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=perms;d541d6ca538=3eccc007c7f87786e8b3a8fb1dd58fd8
Apply Filter: Only show the errors with the same message
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/darkbreak) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Packages.php
Line: 1746
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=perms;d541d6ca538=3eccc007c7f87786e8b3a8fb1dd58fd8
Apply Filter: Only show the errors with the same message
2: is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/..) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Packages.php
Line: 1800
I don`t know what to change...
This are the only errors that i have.
Ask your host to turn off open_basedir.
Quote from: Arantor on December 11, 2009, 12:47:32 PM
Ask your host to turn off open_basedir.
it is off, but still
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
Can anyone really help me? i have this problem for 4-5 days...
It's not off. The errors show that.
Quote from: Arantor on December 11, 2009, 02:44:56 PM
It's not off. The errors show that.
I`ve change that oFF.
I`ve istall the RSS Feeder, and worked well.
I have a new error:
2: Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 74
The creator of mod, told me to ask here for help.
Considering that it's an error in PrettyUrls-Filters.php, I'd be asking in the Pretty URLs mod's dedicated topic because it's not directly an SMF issue.
I`ve asked. He answear:
kizko, that's a problem with your package manager. Ask for help in the SMF boards.
I saw another problem.
If there is a new post, the icon ...Themes/darkbreak_20rc1/images/on.gif it appears. If i read that new post, and return to index, it still show that there are new post utill i open the board.
Huh? How it is a package manager error in PrettyURLs-Filters.php? That's not SMF's own code!
As for that, that's something in 2.0 generally, not sure it's actually a bug, because it's saying you haven't read the message index.
Quote from: Arantor on December 13, 2009, 06:00:45 AM
Huh? How it is a package manager error in PrettyURLs-Filters.php? That's not SMF's own code!
As for that, that's something in 2.0 generally, not sure it's actually a bug, because it's saying you haven't read the message index.
I will try to resolve the PrettyUrl- Filter error, and come back to see if there is any error.
Still the same problem.
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
What can i do ?
I find some errors:
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2424
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/index.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2417
It's still finding some files that are not writable. Every file in every folder under SMF may need to be writable in order for some packages to install.
Quote from: The Grinch on December 18, 2009, 07:56:56 AM
It's still finding some files that are not writable. Every file in every folder under SMF may need to be writable in order for some packages to install.
Under SMF ?
The folder that contains SMF, every file within that, and under every folder therein.
Quote from: The Grinch on December 21, 2009, 04:49:01 AM
The folder that contains SMF, every file within that, and under every folder therein.
I will try make them writable. Even settings.php ?
No, Settings.php and Settings_bak.php should not be touched by any mod and can be left as they are.
Is there a "temp" folder in the Packages folder?
If not, create one and chmod it to 777 or 755 depending on which your server allows.
Quote from: Kays on December 21, 2009, 08:05:15 AM
Is there a "temp" folder in the Packages folder?
If not, create one and chmod it to 777 or 755 depending on which your server allows.
There wasnt any temp folder. I create it, and istalled succesufull Gobal header and footer, but no mod appear in admin panel. And RSS feed controal panel disapear.
But it did install and it is showing in the package manager as being installed now?
Did you attempt to install it on the theme you are using?
Quote from: Kays on December 21, 2009, 08:20:06 AM
But it did install and it is showing in the package manager as being installed now?
Did you attempt to install it on the theme you are using?
View and Remove Installed Packages
Mod Name Version
1. Global Headers Footers 2.0 [ Uninstall ]
2. Aeva ~ Auto-Embed Video & Audio 7.0 [ Uninstall ]
3. RSS Feeder 1.1.4 [ Uninstall ]
Yes it apears as installed...
I didn`t isntalled it for my theme... How should i do that ?
Do i have to unistall and install it back ? An select to isntall on that theme?
Quote
Do i have to unistall and install it back ? An select to isntall on that theme?
Yes, that would be the best way.
If it shows an error then you will need to do a manual install on whatever file is showing the error.
Please see: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Quote from: Kays on December 21, 2009, 08:32:44 AM
Quote
Do i have to unistall and install it back ? An select to isntall on that theme?
Yes, that would be the best way.
If it shows an error then you will need to do a manual install on whatever file is showing the error.
Please see: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Installing this package will perform the following actions:
Type Action Description
* 1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
1. Replace ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
* 3. Execute Modification ./index.php Test failed
1. Replace ./index.php Test failed
* 4. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test failed
2. Replace ./Sources/Subs.php Test failed
3. Replace ./Sources/Subs.php Test failed
* 5. Execute Modification ./Sources/Admin.php Test failed
1. Replace ./Sources/Admin.php Test failed
6. Execute Code UnInstall.php
It gave me errors on unistall. Everywhere!
Only 2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
is skiped.
Is the mod actually installed? That suggests it isn't.
His previous posts shows that they are installed.
Try uninstalling them in the reverse order they were installed in.
in Installed Packages it says it is.
Have you tried uninstalling in reverse order?
If that sill gives errors. Then forget about uninstalling and just do any edits to the theme you are using manually.
You may want to verify if it's installed indeed on files, or isn't it: choose one of the files that give failed test on uninstall, and check the mod's page for the edits that should be in the file. Open the file and check if they were done. Same for the others. It might be useful to know if it didn't do *any* edits, despite saying it was "installed successfully" in the first place.
Quote from: Norv on December 21, 2009, 09:07:16 AM
You may want to verify if it's installed indeed on files, or isn't it: choose one of the files that give failed test on uninstall, and check the mod's page for the edits that should be in the file. Open the file and check if they were done. Same for the others. It might be useful to know if it didn't do *any* edits, despite saying it was "installed successfully" in the first place.
It didn`t do any edits... Can`t find any modification, except Pretty URLS (this one i`ve installed manually).
It sounds like a permission issue. What permissions have those exact files?
Quote from: Norv on December 21, 2009, 10:57:52 AM
It sounds like a permission issue. What permissions have those exact files?
All sources files and package and theme files have 777
Errors in the error log for this specific installation?
Quote from: Norv on December 21, 2009, 11:30:00 AM
Errors in the error log for this specific installation?
No but i have a lot of:
Apply Filter: Only show the errors with the same message
8: Undefined index: mods_cat_modifications_rssfeeds
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Admin.php
Line: 210
Apply Filter: Only show the errors with the same message
8: Undefined index: mods_cat_modifications_rssfeeds
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Admin.php
Line: 210
This is from the mod:
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2424
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/index.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2417
Apply Filter: Only show the error messages of this URL http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=uninstall;package=globalheadersfooters.zip;pid=3
Apply Filter: Only show the errors with the same message
8: Undefined index: mods_cat_modifications_rssfeeds
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Admin.php
Line: 210
...
It seems like RSS Feeder was installed with errors, that is, was not properly installed.
Did you have errors during its installation? Is the mod compatible with RC2?
Might be worth trying to check the edits that RSS Feeder needs, as per its page, and see if your files have them. In particular, you might want to check your language files, if they have the edits indicated for the mod in *.language.php files, specially if you're using another language on the forum than English.
Quote from: Norv on December 21, 2009, 02:06:30 PM
It seems like RSS Feeder was installed with errors, that is, was not properly installed.
Did you have errors during its installation? Is the mod compatible with RC2?
Might be worth trying to check the edits that RSS Feeder needs, as per its page, and see if your files have them. In particular, you might want to check your language files, if they have the edits indicated for the mod in *.language.php files, specially if you're using another language on the forum than English.
I have RC1.2, and it is compatible only with RC2, now i See... But i emulate for other version and install it without errors.
On this note, it may be a good idea to upgrade to RC2. There are lots of bug fixes done meanwhile.
I'm not fully sure I understand what happened with RSS Feeder, please correct me if I get it wrong: you tried to emulate RC2 on a RC1.2 installation?
It may be worth to check the language files anyway. What language(s) is your forum using currently? (and please specify if they're utf8 or not)
Quote from: Norv on December 23, 2009, 02:54:43 AM
On this note, it may be a good idea to upgrade to RC2. There are lots of bug fixes done meanwhile.
I'm not fully sure I understand what happened with RSS Feeder, please correct me if I get it wrong: you tried to emulate RC2 on a RC1.2 installation?
It may be worth to check the language files anyway. What language(s) is your forum using currently? (and please specify if they're utf8 or not)
My theme don`t work on RC2...
Where can i find thoose Language files ?
And yes, i emulate for RC2 on RC1.2
Admin > Languages, to see the languages currently installed.
The files themselves, are in ./Themes/default/languages/.
Default Language Name Character Set Users Locale
English ISO-8859-1 1541 en_US
Only this is there.
I think you may find useful to ask in the mod's support thread. I highly doubt you can successfully use emulate to a higher RC as RC2 from RC1.2. Emulate is rather to be used among minor versions, RCs are practically too different.
At least as far as edits in theme files are concerned, mods are most of the time not compatible from RC1.2 and RC2, so it just can't work. I would advise to upgrade to RC2, eventually ask the theme author about upgrading the theme, or perhaps take a look for another, instead.
Quote from: Norv on December 23, 2009, 01:03:50 PM
I think you may find useful to ask in the mod's support thread. I highly doubt you can successfully use emulate to a higher RC as RC2 from RC1.2. Emulate is rather to be used among minor versions, RCs are practically too different.
At least as far as edits in theme files are concerned, mods are most of the time not compatible from RC1.2 and RC2, so it just can't work. I would advise to upgrade to RC2, eventually ask the theme author about upgrading the theme, or perhaps take a look for another, instead.
But why can i install other mods ? It still tells me that the package directory isn`t writeble, although i made it 777
It probably says that Packages directory or another directory is not writable.
On SMF 2.0, the error message also continues by telling that you can see what directory/file(s) are still not writable. Click on the link to check it out.
Also, please make sure you have a "temp" subdirectory chmodded as writable, too, in Packages.
However, you *can* have errors after installation, even if you manage to install, mods that are not compatible with your version.
But how about if i Update to RC2. The error will disapear?
And what things will disapear after upgrading? I found the theme on RC2 :).
But i have other problem.
After i move the database on other host, and instal RC1.2 (the only with that theme working) i saw that it says there are some themes installed (the olds ones). But i didn`t really isntal them on new host. If i updgrade to RC2 it will disapear? I really want to make it clean.
You can remove themes from Admin > Themes and Layout (please see the tabs available on that page).
Some errors will disappear after the upgrade to RC2, like those related to an unfinished installation of RSS feeder mod. Note that before upgrading, it may be a good idea to uninstall your mods (you can ignore if you have errors at uninstalling this time, because all your files will be anyway overwritten with fresh files from RC2 upgrade package).
Please make sure you have a database backup before starting the upgrade.
I can`t remove the mods. Should i continue?
It says the same thing, that the package file is not writable.
As you want. You can:
Option 1 - ignore it all, and upgrade to RC2. Make sure you have a database backup.
The upgrade is done by overwriting all your files, with files from large upgrade package, so mods are overwritten as well. They will still be "declared" as installed by SMF, but that should not be a problem.
Option 2 - in the end of the error message, doesn't it say something like "click here to see what files are not writable"? If it does, you can click there, and see what files you need to make writable, to be able to uninstall.
Please make sure you have a directory named "temp", writable, in ./Packages, too.
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/index.template.php) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Themes.php
Line: 352
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/index.template.php) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Themes.php
Line: 352
2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/index.template.php) is not within the allowed path(s): (/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs:/tmp)
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Themes.php
Line: 352
This were before creating a temp folder (already RC2). Now i`ve isntalled RSS Feed and it was ok :)
LE:
Why are the path like this /Themes/darkbreak_20rc2/images//new_some.png ?
Are you still online?
Why are the path like this /Themes/darkbreak_20rc2/images//new_some.png ?
About the errors: interesting.
Please note that: on your host's server there's a restriction, for PHP to run scripts only from your root directory, and temporary directory. That is okay (though not very often), and it was set correctly, by the looks of it.
However, I think you received errors because SMF was unable to create the temp directory itself, so without the temp directory, SMF was looking for the files (that should have been in temp), in root, instead.
(it was looking for "/index.template.php", instead of "/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/index.template.php")
Whenever you see that again, please remember to create the temp directory. Eventually, there's a mod you might already know, on the mod site, which doesn't allow its removal anymore.
Quote
Why are the path like this /Themes/darkbreak_20rc2/images//new_some.png ?
It seems your theme has written them that way. It shouldn't be a problem, besides being a little ugly, or is it?
Please notify the author of the theme, eventually.
I can`t change the images. This is why i`m asking. If i replace them, they are the same (don`t know how).
That suggests your browser is caching them, try using Ctrl-F5 to reload the page.
I saw the problem. For some reasons, now the are on.PNG not on.GIF (What PHP file do i have to edit for change this extensions?)
BoardIndex.template.php and MessageIndex.template.php will have that in, IIRC.
I tryed install the Pretty Url mod and:
1. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
2. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
3. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
4. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
5. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
6. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
It is a mod error ? Or something from SMF?
Do you have a temp directory in Packages, as mentioned before?
If not, you may want to make one, and please make sure to try installing the mod I mentioned (forbidding temp directory removal).
Then, after that mod is in place, please try installing again.
Quote from: Norv on December 28, 2009, 07:10:01 PM
Do you have a temp directory in Packages, as mentioned before?
If not, you may want to make one, and please make sure to try installing the mod I mentioned (forbidding temp directory removal).
Then, after that mod is in place, please try installing again.
Yes it was there. (and i find some Preatty URL files in it).
I`ve installed that mod (with forbidding temp directory removal) and still got errors:
1. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
2. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
3. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
4. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
5. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
6. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
Can you please try this: (./Sources/Subs-Package.php)
$current = unpack('a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155path', $header);
if ($current['type'] == 5 && substr($current['filename'], -1) != '/')
$current['filename'] .= '/';
Quote from: Norv on December 28, 2009, 07:18:41 PM
Can you please try this: (./Sources/Subs-Package.php)
$current = unpack('a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8checksum/a1type/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155path', $header);
if ($current['type'] == 5 && substr($current['filename'], -1) != '/')
$current['filename'] .= '/';
Done, but still:
1. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
2. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
3. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
4. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
5. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
6. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
It seems that on the mod's page, there's a tgz file, and a .zip file, the .zip for RC2. Is that the file you were using?
Yes.
prettyurls-1-0RCb-SMF2RC2.zip
What errors do you have in the error log?
Eventually, empty it, then try installing once, then post all the errors you have.
Quote from: Norv on December 28, 2009, 07:31:44 PM
What errors do you have in the error log?
Eventually, empty it, then try installing once, then post all the errors you have.
No errors.
How about these files attached here? Please try one by one.
Please before using any of them, remove the others (I mean, the other pretty url packages) from your Packages directory.
Quote from: Norv on December 28, 2009, 07:44:52 PM
How about these files attached here? Please try one by one.
Please before using any of them, remove the others (I mean, the other pretty url packages) from your Packages directory.
Both of them, same error.
1. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
2. Execute Modification SMF2-0RC2/Sources.xml Modification parse error
3. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
4. Execute Modification SMF2-0/BoardsAndTopics.xml Modification parse error
5. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
6. Execute Modification SMF2-0RC2/Themes.xml Modification parse error
How about the folder?
That is, please try unzipping any of these, in a folder with the same name. Then, upload in Packages that folder. Please make sure that it's exactly a folder that has "package-info.xml" and other files (and folders) in it.
Do remove any other package when trying to see if you can install Pretty URLs from the folder. (it really should behave like a package)
On another note, please post also a phpinfo() file.
What is a phpinfo() file? (http://docs.simplemachines.org/index.php?topic=479.0)
EDIT: I should note I will not be online for several hours now, though.
Same error.
If you want i can give you information to log in FTP and admin forum.
I can also talk with the host (online chat 24/24) to do any neccesary changes.
http://forum.psp-fanatik.ro/ma.php
Here is phpinfo().
Quote from: kizko on December 28, 2009, 08:01:33 PM
Same error.
If you want i can give you information to log in FTP and admin forum.
I can also talk with the host (online chat 24/24) to do any neccesary changes.
http://forum.psp-fanatik.ro/ma.php
Here is phpinfo().
2: copy(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/pretty/icon-news.png) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1682
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2
Apply Filter: Only show the errors with the same message
2: copy(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/pretty/chrome-bottom.png) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1682
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2
Apply Filter: Only show the errors with the same message
2: copy(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/SMF2-0/PrettyUrls.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1682
a lot of this error:
2: copy(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/SMF2-0/install.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1682
about 4-5 error pages.
This is what the author of the mod says:
Your package manager is having issues. You'll probably need to make a temp directory. Ask for help in the support boards as it's not a specific problem with this mod. :)
I`ve put all the files and subfolder of the mod in "temp" folder and it worked with no problem.
But after instalation there was no mod effect and some errors:
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Themes/default/pretty/chrome.css) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2488
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install2;package=prettyurls-1-0RCb-SMF2RC2;pid=0
Apply Filter: Only show the errors with the same message
512: package_flush_cache(): some files are still not writable
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2492
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2;pid=0
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2495
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2;pid=0
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/SSI.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2488
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2;pid=0
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2495
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2;pid=0
Apply Filter: Only show the errors with the same message
2: fopen(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/index.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2488
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2
Apply Filter: Only show the errors with the same message
2: unlink(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/pretty/icon-news.png) [<a href='function.unlink'>function.unlink</a>]: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1559
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2
Apply Filter: Only show the errors with the same message
2: unlink(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/pretty/chrome-h2.png) [<a href='function.unlink'>function.unlink</a>]: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1559
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install;package=prettyurls-1-0RCb-SMF2RC2
Apply Filter: Only show the errors with the same message
2: unlink(/var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Packages/temp/pretty/chrome-h1.png) [<a href='function.unlink'>function.unlink</a>]: Permission denied
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 1559
...
LE: I`ve succesufull isntall Aeva mod and Global Header and Footer. But, when i try to install YAGAM (Yet another global anuncement), it show me the Aeva Readme, no errors in install mode, and the install was succesuful but the mod isn`t working. When i try to unistall it, it says the all files Failed Test => the mod isn`t installed.
An error the i saw:
Apply Filter: Only show the error messages of this URL
http://forum.psp-fanatik.ro/index.php?action=admin;area=logs;sa=banlog;cd6b26e=4d22be38a4ca772b3619dc99a6df9323
Apply Filter: Only show the errors with the same message
8: Undefined offset: 0
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/PrettyUrls-Filters.php
Line: 377
Quote from: kizko on December 28, 2009, 08:07:21 PM
This is what the author of the mod says:
Your package manager is having issues. You'll probably need to make a temp directory. Ask for help in the support boards as it's not a specific problem with this mod. :)
I agree.
Quote from: kizko on December 29, 2009, 02:01:53 AM
http://forum.psp-fanatik.ro/index.php?action=admin;area=packages;sa=install2;package=prettyurls-1-0RCb-SMF2RC2;pid=0
Apply Filter: Only show the errors with the same message
512: package_flush_cache(): some files are still not writable
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-Package.php
Line: 2492
Please try to make sure that all files and folders are writable. Most likely, that means chmodded to 777, to be sure.
Do Aeva and Global Header and Footer work as expected?
Could you ask your host what is the umask set for your user, and specially, for the Apache user?
Note: I have practically no time these days, hopefully in a few days I'll be able to try looking into it more.
Aeva yes. Global header and footer, no. Same problem. Installed without errors and no effect.
Quote from: Norv on December 29, 2009, 05:11:55 AM
Could you ask your host what is the umask set for your user, and specially, for the Apache user?
They said 755.
Quote from: kizko on December 29, 2009, 05:38:28 AM
Quote from: Norv on December 29, 2009, 05:11:55 AM
Could you ask your host what is the umask set for your user, and specially, for the Apache user?
They said 755.
Do they mean "022"? The
umask has to be set to the difference between all permissions and the resulting permissions on the file/folder. In order for the file/folder to be 755, the umask should be 022... Are you sure that is the case?
In addition to the other questions, can you please tell, which exactly is the Aeva package whose installation was successful, including which particular archive?
From this new version: http://custom.simplemachines.org/mods/index.php?mod=977, or?
Also, No temp directory removal - did it install automatically with package manager, or did you have to edit the file manually?
Quote from: Norv on December 29, 2009, 05:44:44 AM
In addition to the other questions, can you please tell, which exactly is the Aeva package whose installation was successful, including which particular archive?
From this new version: http://custom.simplemachines.org/mods/index.php?mod=977, or?
Also, No temp directory removal - did it install automatically with package manager, or did you have to edit the file manually?
The aeva archive was allready in package manager (i couldn`t remove them becouse of that writable error).
But in the folder Package i have Aeva-7.0.706.zip.
No temp directory removal was installed via Package manager. Nothing manual (i don`t know if it really work or it only says it`s isntalled). I hope it isn`t the same case as global and pretty url(the pretty url i`ve installed it manually).
Quote from: Norv on December 29, 2009, 05:43:14 AM
Quote from: kizko on December 29, 2009, 05:38:28 AM
Quote from: Norv on December 29, 2009, 05:11:55 AM
Could you ask your host what is the umask set for your user, and specially, for the Apache user?
They said 755.
Do they mean "022"? The umask has to be set to the difference between all permissions and the resulting permissions on the file/folder. In order for the file/folder to be 755, the umask should be 022... Are you sure that is the case?
002 they said.
Quote from: kizko on December 29, 2009, 05:54:17 AM
The aeva archive was allready in package manager (i couldn`t remove them becouse of that writable error).
But in the folder Package i have Aeva-7.0.706.zip.
But, did you install it on RC2? Or it only "appears" as installed, because it was installed in the previous RC?
Quote from: Norv on December 29, 2009, 06:21:25 AM
Quote from: kizko on December 29, 2009, 05:54:17 AM
The aeva archive was allready in package manager (i couldn`t remove them becouse of that writable error).
But in the folder Package i have Aeva-7.0.706.zip.
But, did you install it on RC2? Or it only "appears" as installed, because it was installed in the previous RC?
I couldn`t unistall it before upgrading.
After upgrading, it was allready in package manager, but it was unistalled. I clicked Install now in RC2. (it works with no problem.)
Quote from: kizko on December 29, 2009, 05:55:50 AM
Quote from: Norv on December 29, 2009, 05:43:14 AM
Quote from: kizko on December 29, 2009, 05:38:28 AM
Quote from: Norv on December 29, 2009, 05:11:55 AM
Could you ask your host what is the umask set for your user, and specially, for the Apache user?
They said 755.
Do they mean "022"? The umask has to be set to the difference between all permissions and the resulting permissions on the file/folder. In order for the file/folder to be 755, the umask should be 022... Are you sure that is the case?
002 they said.
Sorry I insist, 002... or 022, I suppose? :)
Quote from: Norv on December 29, 2009, 06:28:01 AM
Quote from: kizko on December 29, 2009, 05:55:50 AM
Quote from: Norv on December 29, 2009, 05:43:14 AM
Quote from: kizko on December 29, 2009, 05:38:28 AM
Quote from: Norv on December 29, 2009, 05:11:55 AM
Could you ask your host what is the umask set for your user, and specially, for the Apache user?
They said 755.
Do they mean "022"? The umask has to be set to the difference between all permissions and the resulting permissions on the file/folder. In order for the file/folder to be 755, the umask should be 022... Are you sure that is the case?
002 they said.
Sorry I insist, 002... or 022, I suppose? :)
Just a minute, are you still online?
Not really, left for a little while and leaving again, I'm afraid. :(
I'll be back in several hours.
Finally, there were some file in that subforum that wasn`t writable. Together with an operator from host, we made some changes, and finally I`ve succesufull installed Global Headers and footers.
Hope there aren`t any problems.
Thank you for your time Norv!! Really, if you need any help in consoles domain (Playstation,Xbox and others) feel free to visit me, and my friends will help you asap.
Not only you, evryone who helped me!