Can't login after easy install and all green
  • Hi,

    like that other guy I have trouble raising the admin login. I get

    Quote:
    Not Found

    The requested URL /admin was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    instead. This is on a typical shared hosting account. ExecCGI is enabled, Rewrite rules work according to the hoster. I fiddled around with the .htaccess file, slashes then no shlashes, didn't change things.

    This is

    Apache version 2.2.12
    PHP version 5.2.10
    MySQL version 5.0.91-community

    The htaccess reads:

    # There might be no access to apache config, set options here
    DirectoryIndex index.php index.html
    Options -Indexes FollowSymLinks -MultiViews

    # Options might not allowed here, use Rewrite rules instead
    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{REQUEST_URI} /+get_img$
    RewriteRule . get_img.php [L]

    RewriteCond %{REQUEST_URI} /+attachment/+
    RewriteRule . attachment.php [L]

    RewriteCond %{REQUEST_URI} !\.php$
    RewriteCond %{REQUEST_URI} !\.html$
    RewriteCond %{REQUEST_URI} !\.css$
    RewriteCond %{REQUEST_URI} !\.js$
    RewriteCond %{REQUEST_URI} !/+admin
    RewriteCond %{REQUEST_URI} !/+install
    RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+javascript
    RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+css
    RewriteCond %{REQUEST_URI} !(/+plugins/[^/]*)?/+images
    RewriteCond %{REQUEST_URI} !/+templates
    RewriteCond %{REQUEST_URI} !/+videos
    RewriteRule . /index.php [L]

    RewriteCond %{REQUEST_URI} .tpl$
    RewriteRule . index.php [L]

    RewriteCond %{REQUEST_URI} /+admin$|/+admin/+.*|/+admin-files
    RewriteRule . admin.php [L]
    </IfModule>

    # Uncomment it for gui backup/restore process
    # NOTE: It can be incompatible on some shared hosting
    #php_value output_buffering Off

    Help rather urgently needed -)

    Andel

  • 30 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi Andel,

    .htaccess has standard rewrite rules. Please ask your hoster about why the hosting environment doesn't support standard rewrite rules.
  • Please explain. My hoster assures me that the rewrite rules work:

    Quote:
    Host:

    The ExecCGI option is globally enabled in the server and the rewrite rule is working fine. We could see only not found error in the Apache error logs.
  • Hi again,

    my hoster answered

    Quote:
    Host:

    Module "mod_rewrite" is enabled in the server.


    =========
    root@andel [/home/strr/public_html]# httpd -l | grep rewrite
    mod_rewrite.c
    =========


    << .htaccess has standard rewrite rules. Please ask your hoster about why the hosting environment doesn't support standard rewrite rules. >>


    Please elaborate the exact issue.
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Please open the trouble ticket on hoster support. That .htaccess is ok. Should work on well configured apache environment.
  • I'm sorry - I do not understand you. I am talking to my host (see above) via a "trouble ticket". Neither he nor I have any idea why it doesn't work.

    I have installed an earlier version of Campsite on exactly this configuration without problem a while ago (3.3 speedy I think). So I am really puzzled. What else might it be?
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    that's problem of hoster's rewrite configuration. It's well tested .htaccess. Yes, on some shared hosting it doesn't working because the hosting has limited environment. All shared hosting which I managed/tried has no any problem with .htaccess. I don't understand what exactly hoster done to limit rewrite rules support. You can try .htaccess from 3.3. It has more simple configuration but it should work too.
  • Hi again,

    I just tried using the other htaccess - that doesn't change anything. The other instance of Campsite (3.3.1c) is working without problem on the same server (it's a VPS), no trouble going to the admin interface.
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Please attach an apache error log when you are trying to open admin page.
  • Hi,

    more problems...

    So I decided to do a full new installation, and cure the problem that way maybe. Instead I now cannot install.

    When I try to choose the templates classic installation and then click "next" I get an error message saying "Warning! FValideate developer-assist error" and nothing goes. I cannot go further. This is again regardless of browser and regardless of what I choose. I found mention of this here in the forum, unfortunately the solution is not alongside.

    Any help?

    Andel
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    It's a javascript error. Please attach a screenshot.
  • No problem - Here attached Smile
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Please do not use 3.5 RC1. It isn't bug free release. Install latest stable release 3.4.3 instead.
  • Vote Up0Vote Down Martin SaturkaMartin Saturka
    Posts: 40Member, Sourcefabric Team
    What is your browser (version), please?


    On Fri, Jan 14, 2011 at 11:46 PM, Andel <
    newscoop-support@lists.sourcefabric.org> wrote:

    > No problem - Here attached [image: Smile]
    >
    > <http://forum.sourcefabric.org/index.php?t=getfile&id=59> Attachment:
    > fvalidate.jpg <http://forum.sourcefabric.org/index.php?t=getfile&id=59>
    > (Size: 50.35KB)
    >

    --
    Martin Saturka
    Software Engineer, Sourcefabric
    martin.saturka@sourcefabric.org
    www.sourcefabric.org

  • Hi,

    that was IE 8. I don't even get as far with FF.

    I now uploaded and prepared version 3.4.3.

    I need to say here that I am on my own VPS, the ressources I get I do have. It's not some generally shared hosting account.

    With 3.4.3 I do not even get as far as the above shown step. The installation routine crashes the http instance of the apache server at step 3, when I try to set up the database. Fast. I now tried 3 times, and every time hitting the next-button crashed the server.

    Shocked

    Andel
  • Vote Up0Vote Down Martin SaturkaMartin Saturka
    Posts: 40Member, Sourcefabric Team
    Thank you for reporting, just quite a few sites use the 3.4.x versions.

    If the Apache is crashed itself then something is wrong with the VPS. May be
    you do not have enough of memory, and the httpd is killed by the OOM killer.
    http://linux-mm.org/OOM_Killer
    https://encrypted.google.com/search?hl=en&q=apache+mysql +low+memory

    Another thing - you should drop the database if you want to reuse it for
    several subsequent installation attempts.

    Apropos, beware that MSIE tends to have strange behavior when used on urls
    like http://localhost

    M.

    On Sat, Jan 15, 2011 at 11:40 AM, Andel <
    newscoop-support@lists.sourcefabric.org> wrote:

    > Hi,
    >
    > that was IE 8. I don't even get as far with FF.
    >
    > I now uploaded and prepared version 3.4.3.
    >
    > I need to say here that I am on my own VPS, the ressources I get I do have.
    > It's not some generally shared hosting account.
    >
    > With 3.4.3 I do not even get as far as the above shown step. The
    > installation routine crashes the http instance of the apache server at step
    > 3, when I try to set up the database. Fast. I now tried 3 times, and every
    > time hitting the next-button crashed the server.
    >
    > [image: Shocked]
    >
    > Andel
    >



    --
    Martin Saturka
    Software Engineer, Sourcefabric
    martin.saturka@sourcefabric.org
    www.sourcefabric.org

  • Hi,

    just for the information - this is a live server, so the address is the normal http one.

    Andel
  • Hi again,

    ok - my hosters managed to finish the installation process. Only now I am back to square one - see far above - unable to raise the login page!

    The hoster writes:

    Hello,

    We have complete the installation, http://edst.com/install/index.php. Please see the snapshot attached:

    But the URL, http://edst.com/admin/login.php is not loading from our end as the directory /home/str/public_html/install/admin is not created under the document root.

    It seems to be some issues with the third party software Campsite. We recommend you to contact the support of Campsite.

    ==============

    Text of the failure page:


    Not Found

    The requested URL /admin/login.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.12 (Unix) mod_ssl/2.2.12 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at eds.com Port 80
  • Hi,

    I really need help here. I've exhausted all my ideas, as did the hoster. I've checked version numbers again, the ones which are running are 3.3.1 Speedy. They were not installed on the server, instead cpanel-moved to it. I will try to install that version on a test domain now.

    But if anyone comes up with a sharp idea why 3.3.1 should work and 3.4.3 not, I'd welcome learning about it. Smile

    BTW we fiddled around with APC Cache, that broke other software running on same server, but did not change the behaviour of 3.4.3.


    Andel
  • Hi,

    maybe this helps find the problem - I just did a fresh install of 3.3.1 Speedy on a test domain. This one went without the slightest hitch. The server never bucked or burped, not a httpd crash in sight, I needed no help from anyone to set this up either (the 3.4.3. I could not set up myself, the host had to do it for me).

    Also interesting - no problem at all calling onto the admin.php!

    Everything works without problems.

    So maybe those among you who know the changes between 3.3.1 and 3.4.3 can pinpoint better now what the trouble is.

    Andel
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi Andel,

    as I said early look into .htaccess. Just rewrite rules allows to run admin part. Instead you get "Not found" error. I don't know another reason.
  • Hi Andrey,

    I used the exact same .htaccess file which runs on the 3.3.1 sites (those which function) on the 3.4.3 site, to test this. There is NO change!

    As all of these domains run on the same VPS and as my host assures me that there are no differences between the various domains at all, the .htaccess can't be the problem, or else the copied file would have cured it.

    Andel
  • Hi,

    further testing revealed this:

    3.3.1 Speedy - installable/finds admin.php = works

    3.3.5 Speedy - installable/does NOT find admin.php = does NOT work

    3.3.6 Speedy - NOT installable/crashes http instance = does NOT work

    3.4.3 - NOT installable by me/crashes http instance - when host installed does not find admin.php = does NOT work

    Any ideas?


    Andel
  • Hi,

    I am still looking for help here Confused

    I have been reading the forum forwards and backwards, and it seems I am not the only one who has that particular problem. It also seems that you have no solution for it. At least none that is posted.

    I really would like to use Campsite/Newscoop, but if I can only get a rather old version to work, that's not really a project with a future, is it?

    Given that I am - on the first page of the forum - the third with the same problem, unsolved, could someone of you please have a closer look at this? Please?

    Andel
  • Hi Andel,

    Just to give you some context - at the moment the entire team is working really hard on Newscoop 3.5, with the RC2 version out now and the GA version set for release on 31/01.

    That's the future of the project and we're right in the middle of that very difficult transition between major releases. The dev team are working exceptionally hard on ironing out issues with the new release, so your patience with your support request for 3.4.x is really appreciated.

    Bear with us and I'm sure one of the Newscoop/Campsite developers with take a look as soon as they get a moment. Have you filed a bug report at http://dev.sourcefabric.org/?

    thanks, Adam
  • Hi Adam,

    I certainly appreciate all your work on 3.5 RC2, but my problem is not just with 3.4.x, it is with literally everything including and above 3.3.5. And yes, I also tried 3.5 RC1 and 3.5 RC2. Thus, if - and it looks so - something since 3.3.5 makes it difficult to install and run Campsite/Newscoop on normal hosting accounts (I do have a VPS and it has a generous enough allowance of ressources, but it does have to run secure, meaning like a normal hosting account server is run), then I'd say that needs to be seen to prior to announcing anything usable as widely as you guys currently announce Newscoop. Just my opinion, but people might take you up on your word Smile

    As I am by now fairly sure that upgrading through (instead of a clean install) from 3.3.1 works, the problem may be a bit bigger than you are aware of.

    As to bug report - there is little sense in filing "cannot install - crashes server - doesn't find its admin page". That's not a bug, that's a total failure. Wink

    Andel
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Andel,

    if you would like to resolve your problem you have to allow me an access to your vps. Otherwise I don't know how to help you.
  • Thank for the info Very Happy Surprised
  • Hi Andrey,

    I could give you full access to a test domain, if that helps, but not the server.

    It's a live production server, and my attempts at setting up Campsite/Newscoop disrupted service quite a bit already.

    Necessary adjustments can be made though, through the hoster or me.

    Andel
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi Andel,

    Campsite 3.4 supports subfolder installation, may be it helps to play with new version. You can define ftp account with campiste 3.4. as home folder. I need an access (r/w) to .htaccess file.
  • Hi Andrey,

    I will set up a clean domain account for you, where you have access to everything just as one of the regular users (includes htaccess access, MYsql access, ftp access to domain, full Cpanel access). I had better warn you though, setting up 3.4 does crash the server 8 out of 10 times. I will email you access data once I am finished.

    Andel