Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Manifest File error...

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2330 Views
  • TCJeter
    Avatar
    Community Member
    17 Posts

    Manifest File error... Link to this post

    Just as I have found in this topic (http://www.silverstripe.com/general-discussion/flat/333), I am having problems with the installation page giving an error that is stated in this manner:

    Warning: fopen(C:\WINDOWS/manifestC_\PHP_dev_server\www\SilverStripe_sapphire_main.php) [function.fopen]: failed to open stream: No such file or directory in C:\PHP_dev_server\www\SilverStripe\sapphire\core\ManifestBuilder.php on line 105
    Cannot write manifest file! Check permissions of C:\WINDOWS/manifestC_\PHP_dev_server\www\SilverStripe_sapphire_main.php

    Obviously there was no resolution to the above post either; can someone help? It's taken me quite a while to get this far and I'm hoping it will be worth the effort.

    Thanks,
    -TC

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Manifest File error... Link to this post

    looks like the manifest-file has invalid characters (backslashes).
    can you try replacing this line in the manifestbuilder? i added an issue in our bugtracker to validate this behaviour as well.

    sapphire/core/ManifestBuilder.php:14
    -define("MANIFEST_FILE", TEMP_FOLDER . "/manifest" . str_replace(array("/",":"),"_", $_SERVER['SCRIPT_FILENAME']));
    +define("MANIFEST_FILE", TEMP_FOLDER . "/manifest" . str_replace(array(' ','\\','/',':'),"_", $_SERVER['SCRIPT_FILENAME']));

    just in case: can you check that your tmp-path is correctly set in php.ini (and writeable by the webserver-user)?

  • TCJeter
    Avatar
    Community Member
    17 Posts

    Re: Manifest File error... Link to this post

    Ingo-

    Thanks for the information. That got me one step closer; I'm thinking that I don't have the php.ini squared away as the error I receive after the insallation is done is:

    Not Found

    The requested URL /SilverStripe/home/successfullyinstalled was not found on this server.

    So, what would the (explicit) line within the php.ini be that controls the tmp-path? I couldn't find anything except for the tmp notations for upload_tmp_dir and session.save_path.

    I have this setup as a development server on my local machine. Everything in the installation checklist is there and it generates the appropriate db tables. If this is a PHP or Apache issue I can appreciate that it's not necessarily in the scope of your support (or these forums).

    Thanks for your time,
    -TC

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Manifest File error... Link to this post

    sorry, wrong lead - the temp-path php uses is actually an environment-variable (not stored in php.ini). see http://www.php.net/tempnam

    so you fixed the permission-problem? your last error looks like an .htaccess/mod_rewrite-problem - can you check your access/error/phperror-logs and confirm that you allow htaccess-redirects in your apache-config?

  • TCJeter
    Avatar
    Community Member
    17 Posts

    Re: Manifest File error... Link to this post

    Ingo-

    Yes - in fact I had overlooked the fact that I has had a second go at installing Apache and had overwritten the previously edited config file. That was the issue.

    It is operational now. The AllowOverride rule was set to 'None' rather than 'All'

    Thanks for your help,
    -TC

  • KDB9000
    Avatar
    Community Member
    1 Post

    Re: Manifest File error... Link to this post

    I am having the same problem. Half of it has to do with my OS I think. It is called SME Server and it is built on Cent OS 4 (linux). I made the change in the Manifest but is still messed up. It wants to put it in:

    /tmp/manifest_home_e-smith_files_ibays_silverstripe_html_sapphire_main.php

    The home e-smith files and all that I the path to to the main.php file. The tmp is there and writable but it is on the system itself and not in the par were all my web files are. Anyone have any ideas oh to fix this? Was also having rewrite problem when I did get it going, and i have the module and everything, it was calling a file that wasn't there.

    2330 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.