News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

The Packages directory or one of the files in it are not writable!

Started by infinitywraith, January 04, 2010, 12:12:35 AM

Previous topic - Next topic

infinitywraith

Here's what happens.

I install a clean installation of SMF 1.1.11. I try to install the Treasury mod. I enter my FTP credentials, and the page loads for a while before stopping at a white page. When I go back, I see that the package was never applied. If I try to install or uninstall any other packages after that point, it says this:

QuoteAn Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

I have no idea how to fix this problem, and I would really like to be able to install/uninstall packages again.  :(

I don't think this is Treasury specific, I believe I have this problem with any modification that requires FTP to install.

Antechinus

So if you go into ftp directly and set the permissions does that work? I mean straight from an ftp client rather than via SMF.

N3RVE

Create a directory (./Packages/temp), using FTP or your Server's File Manager, chmod both the Packages and temp directories to 0777 and attempt to install the package.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

infinitywraith

I run Windows 2003, no chmod.

Not even sure how to set permissions through FTP myself, but through explorer I made everything not read-only.

Also, the installation of modifications that don't require FTP work fine.

Here's the .htaccess of /packages... Is it fine this way?
<Files *>
Order Deny,Allow
Deny from all
Allow from localhost
</Files>


EDIT: I'm pretty sure it's okay. Maybe using Windows is a problem?

infinitywraith

Also, "Cleanup Permissions" goes to a white page too.

Error log, copied from mysql database

1, 1262581148, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./DonationBlock.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
2, 1262581148, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./DonationBlock.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
3, 1262581148, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
4, 1262581149, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
5, 1262581149, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryAdmin.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
6, 1262581149, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryAdmin.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
7, 1262581149, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryUpdate.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
8, 1262581149, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryUpdate.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
9, 1262581149, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryReadme.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
10, 1262581150, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryReadme.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
11, 1262581150, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.english.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
12, 1262581150, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.english.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
13, 1262581150, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.english-utf8.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
14, 1262581151, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.english-utf8.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
15, 1262581151, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryHelp.english.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
16, 1262581151, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryHelp.english.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
17, 1262581151, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryHelp.english-utf8.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
18, 1262581151, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryHelp.english-utf8.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
19, 1262581151, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.template.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
20, 1262581152, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./Treasury.template.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
21, 1262581152, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryAdmin.template.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
22, 1262581152, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./TreasuryAdmin.template.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
23, 1262581152, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./ts_picker.js) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
24, 1262581153, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./ts_picker.js) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
25, 1262581153, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./calnext.gif) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
26, 1262581153, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./calnext.gif) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
27, 1262581153, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./calprev.gif) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
28, 1262581154, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./calprev.gif) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
29, 1262581154, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./cal.gif) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
30, 1262581154, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./cal.gif) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
31, 1262581154, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./x-click-but04.gif) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
32, 1262581154, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./x-click-but04.gif) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
33, 1262581154, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./x-click-but21.gif) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
34, 1262581155, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./x-click-but21.gif) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
35, 1262581155, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./treasury_drop.png) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
36, 1262581155, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./treasury_drop.png) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
37, 1262581155, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./treasury_edit.png) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
38, 1262581156, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./treasury_edit.png) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
39, 1262581156, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./treasury.gif) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
40, 1262581156, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./treasury.gif) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
41, 1262581156, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./ipntreas.php) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1824', 'a054d95491f468c243af68832bea50c1'
42, 1262581157, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: copy(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./ipntreas.php) [&lt;a href='function.copy'&gt;function.copy&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Subs-Package.php<br />Line: 1025', 'a054d95491f468c243af68832bea50c1'
43, 1262581157, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: file_get_contents(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./install.xml) [&lt;a href='function.file-get-contents'&gt;function.file-get-contents&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Packages.php<br />Line: 548', 'a054d95491f468c243af68832bea50c1'
44, 1262581157, 1, '98.155.29.204', '?action=packages;sa=install2;package=treasury_v1.01.zip', '2: require(C:\ANDRE\Tools\apache\htdocs\smf/Packages/temp/./install.php) [&lt;a href='function.require'&gt;function.require&lt;/a&gt;]: failed to open stream: No such file or directory<br />File: C:\ANDRE\Tools\apache\htdocs\smf\Sources\Packages.php<br />Line: 556', 'a054d95491f468c243af68832bea50c1'

infinitywraith

I think that the problem is related to my FTP account and settings, however the only place I can find to change settings is in Packages>Options, and that doesn't even have a password box.

I really don't understand where I'm supposed to change my FTP credentials. The error just say that the file isn't found.

infinitywraith

Okay I added a /temp folder anyways (no chmod) and it says that my modifications are now installed, however none of them take effect anymore :(

Any module I install now takes no effect, even though it says it was installed. There is a bunch of stuff lying in the temp folder now...

Tyrsson

PM at your own risk, some I answer, if they are interesting, some I ignore.

N3RVE

Indeed. A phpinfo() sheet will help. Seems you're on a pretty restrictive server and the actual changes aren't been made.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

infinitywraith

http://sn1pe.com/info.php [nofollow]

Definitely not a restriction problem, I run a dedicated server. The changes not being made is probably because i created a /temp folder in packages. If that folder is not there, and I don't try to ever install Treasury or another FTP-requiring mod, then everything works fine and pacakges install.

Once I try installing Treasury, I can no logner do anything to packages do to the error mentioned in thsi thread. All adding a /temp folder does is make it appear that I can install and uninstall packages, but in reality it seems to just be dumping files into the /temp folder.

I think I might've entered some of my FTP information wrong, but there is no where for me to change it. The logs basically say that it can't find any files that it needs. Previously, I had custom action mod and a smiley set both installed without problem.

Thanks.

infinitywraith


Tyrsson

From your phpinfo sheet.

Quoteupload_tmp_dir   C:\WINDOWS\Temp   C:\WINDOWS\Temp

That will most likely be what is causing the problem. You will have to set the folders/files writable.

How do you connect to your server?
PM at your own risk, some I answer, if they are interesting, some I ignore.

N3RVE

Quote from: infinitywraith on January 04, 2010, 11:37:36 AM
Definitely not a restriction problem, I run a dedicated server. The changes not being made is probably because i created a /temp folder in packages.
All adding a /temp folder does is make it appear that I can install and uninstall packages, but in reality it seems to just be dumping files into the /temp folder.

It's not just dumping the files there, SMF extracts the content of all packages to ./Packages/temp on your server. By doing this it enables the Package Manager read the content of the plugin by searching relevant files at the temp directory for the required changes. Upon completion, SMF attempts to delete the temp directory. Feel free to examine ./Sources/Packages.php to see how the Package Manager does this.
In addition to that, I'll encourage you to install install a little hack that removes the Package Manager's ability to delete the \temp\ dir after which you should create the dir one more time and chmod it accordingly.

QuoteI think I might've entered some of my FTP information wrong, but there is no where for me to change it. The logs basically say that it can't find any files that it needs. Previously, I had custom action mod and a smiley set both installed without problem.

This is not a problem. Open the Admin Control Panel - Packages - Options, there you can set the default value for the fields, after that, Open "File Permissions" and you can chmod your files and directories to your needs. You may also need to enter your FTP details there.

Quoteupload_tmp_dir   C:\WINDOWS\Temp   C:\WINDOWS\Temp

Hmmm.. What is the value for upload_tmp_dir = in your configuration file (php.ini), perhaps there's nothing set and PHP is automatically using C:\Windows\temp which isn't writable?

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

swoodie

Hi did you get this resolved as i am having the same prob i also run this off a windows 2003 box

my error once applying

mod Fatal error: require() [function.require]: Failed opening required 'C:\xampp\htdocs\webpage\forum/Packages/temp/./install.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\webpage\forum\Sources\Packages.php on line 556

Tyrsson

That, error means that the file was not present or for some other reason the script can not access the file.
PM at your own risk, some I answer, if they are interesting, some I ignore.

swoodie

Quote from: Tyrsson™ on February 02, 2010, 05:16:25 PM
That, error means that the file was not present or for some other reason the script can not access the file.

thanks any suggestions on how to get this installed, how to resolve the issue?

Tyrsson

Create a folder inside the packages folder called temp and make sure it is writable.
PM at your own risk, some I answer, if they are interesting, some I ignore.

swoodie


JimM

C:\xampp\htdocs\webpage\forum/Packages/temp/./install.php

                                                                       ^ shouldn't be there. 
Jim "JimM" Moore
Former Support Specialist

Advertisement: