Code Monkey home page Code Monkey logo

Comments (20)

rvolz avatar rvolz commented on May 25, 2024

So the initial configuration dialog worked? Were you able to save your configuration correctly, no errors displayed?

To be able to store the configuration properly the data directory must be writeable.

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

You could also check that the file .htaccess exists. It is responsible for the path magic with index.php.

PS: Did you try to reboot? I am asking because many strange problems were solved this way. Apparently sometimes the NAS software gets stuck with PHP applications.

from bicbucstriim.

vore avatar vore commented on May 25, 2024

Hi!
I had some problems when saving the config the first time. But this was because of the missing open_basedir. After adding the path it was Ok.
Data is writable, I check this. Where is the .htaccess located? I could not find it. Could be the problem then. Should it be located in the base dir (just below bbs)?
I already restarted, did not solve the problem. By the way I'm using a Synology NAS.

Regards

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

The .htaccess file is located in the bbs directory. It is included in the ZIP archive.If it wasn't unpacked then you should try a different unzip application.

The file should contain this:

  <IfModule mod_rewrite.c>
    Options -MultiViews
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
  </IfModule>
´´´

from bicbucstriim.

vore avatar vore commented on May 25, 2024

That was the problem. .htaccess file was not unpacked properly.
Thanks for your help.

Regards

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

Glad to hear that it works. Thanks for the feedback, I'll add a test for htaccess existence to the new installation check in 1.0.
Rainer

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Hi,
sorry that i´m answering to a closed issue, but this discription is the same i´ve got.
Unfortunatly this solution doesn´t help´s for me.
I´m happy to found this project and can add my calibre library to my webserver.

Here´re my steps:
Starting http://server/bbs/ shows "The requested URL /bbs/admin was not found on this server.".
Then i try http://server/bbs/installcheck.php
Environment checks
Apache web server? Yes, Apache/2.2.16 (Debian).
PHP version 5.2+? Yes, found version 5.3.3-7+squeeze16.
Does .htaccess exist? Yes.
Is URL rewriting enabled? Yes.
Is Mcrypt enabled? Yes.
Is Sqlite3 installed? Yes.
Is GD version 2 (or higher) installed? Yes, found version 2.0.
Is the open_basedir restriction in effect? No.
Is the data directory writeable? Yes.
Is data/data.db writeable? Yes.
All the installcheck point are green

I opened the page http://server/bbs/index.php and routed to http://server/bbs/index.php/admin/, filled out the admin form and save the page. All ok, with no error.
Now i goto start (http://server/bbs/index.php/), can see my books with screenshots and can download them. At page http://server/bbs/ i´ve got the cool design, but on every klick i´ve got "Error loading page"!

At my server log i can see:
File does not exist: /var/www/bbs/titleslist
File does not exist: /var/www/bbs/admin
File does not exist: /var/www/bbs/titles

I don´t know what the problem is and need your help.

Thanks

Regards
getwet

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

It seems that the configuration in the .htaccess file is not sufficient for your Apache server, so you don't get proper routes and therefore then the loading errors. You could try to add a RewriteBase instruction:

RewriteEngine On
RewriteBase /bbs/   # <--- new
RewriteCond %{REQUEST_FILENAME} !-f

Does that change antything?

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Hallo Herr Volz,

wir können auch auf deutsch schreiben.
Das hat leider nichts gebracht. Fehler bleibt.
Die Server Log zeigt noch einen Fehler mit magic quote:
Deprecated: Directive 'register_long_arrays' is deprecated in
PHP 5.3 and greater in Unknown on line 0



Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP
5.3 and greater in Unknown on line 0

Vielleicht hat das etwas damit zu tun.

Schönen Gruß
Ralf

Am 12.08.2013 08:59, schrieb Rainer Volz:

It seems that the configuration in the .htaccess file is not
sufficient for your Apache server, so you don't get proper routes and
therefore then the loading errors. You could try to add a
/RewriteBase/ instruction:

|RewriteEngine On
RewriteBase /bbs/ # <--- new
RewriteCond %{REQUEST_FILENAME} !-f
|

Does that change antything?


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

Die Warnungen betreffen Einstellungen in der php.ini Datei, nicht im Code. Wie wurde denn bbs installiert: aus einem der Installationsarchive, oder via git?

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Aus dem Installationsarchive. Wie im issue angegeben.

Am 12.08.2013 09:35, schrieb Rainer Volz:

Die Warnungen betreffen Einstellungen in der php.ini Datei, nicht im
Code. Wie wurde denn bbs installiert: aus einem der
Installationsarchive, oder via git?


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

Und die Auswertung der .htaccess Dateien ist beim Server auch sicher eingeschaltet? Installcheck sagt, dass alle nötigen Module da sind. Wenn technisch alles da ist, und eigentlich auch funktionert, das URL-Rewriting aber nicht stattfindet, bleibt eigentlich nur noch so etwas als Fehlerquelle. (Bei NAS-LAufwerken half seltsamerweise manchmal auch ein Neustart.)

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Ich verstehe es auch nicht. Ich habe mir eine phphinfo.php angelegt. Die
listet unter:
Loaded Modules = mod_rewrite
url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset=

Am 12.08.2013 09:47, schrieb Rainer Volz:

Und die Auswertung der .htaccess Dateien ist beim Server auch sicher
eingeschaltet? Installcheck sagt, dass alle nötigen Module da sind.
Wenn technisch alles da ist, und eigentlich auch funktionert, das
URL-Rewriting aber nicht stattfindet, bleibt eigentlich nur noch so
etwas als Fehlerquelle. (Bei NAS-LAufwerken half seltsamerweise
manchmal auch ein Neustart.)


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

Das sieht ok aus. WIe ist es mit der httpd.conf? Ist das Override dort eingeschaltet?

<Directory "/var/www">
   AllowOverride All

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Ist gesetzt auf:
DocumentRoot /var/www/

Options FollowSymLinks

AllowOverride None

            AllowOverride All
    </Directory>
    <Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride None

AllowOverride All

            Order allow,deny
            allow from all
    </Directory>

Am 12.08.2013 12:11, schrieb Rainer Volz:

Das sieht ok aus. WIe ist es mit der httpd.conf? Ist das Override dort
eingeschaltet?

|<Directory "/var/www">
AllowOverride All
|


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

Dann ist es wohl das AllowOverride None für "/var/www". Dort sollte All stehen.

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Komischerweise habe ich 2 einträge:

    DocumentRoot /var/www/
    <Directory />
           Options FollowSymLinks

AllowOverride None

            AllowOverride All
    </Directory>
    <Directory /var/www/>
            Options Indexes FollowSymLinks MultiViews
           AllowOverride None

AllowOverride All

            Order allow,deny
            allow from all
    </Directory>

Wenn ich im Abschnitt:
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews

           AllowOverride None

AllowOverride All

            Order allow,deny
            allow from all
    </Directory>

All aktiviere, bekomme ich "Internal Server Error 500"!

Am 12.08.2013 14:23, schrieb Rainer Volz:

Dann ist es wohl das /AllowOverride None/ für "/var/www". Dort sollte
/All/ stehen.


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

rvolz avatar rvolz commented on May 25, 2024

Hm, dann würde ich erst einmal die Serverkonfiguration aufräumen. Sie sollte z.B. so aussehen

    DocumentRoot /var/www
<Directory />
    Options FollowSymLinks
    AllowOverride All
</Directory>
<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
</Directory>

Dann ist die Standardkonfiguration von einem Raspberry Pi mit Debian. Dann sollte die Auswertung von lokalen .htaccess Dateien gelingen.

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Die Auswertung der .htaccess Dateien funktioniert.
Wenn ich die AllowOverride All Option in der default config aktiviere
bekomme ich in der error.log die Meldung:
/var/www/.htaccess: AllowOverride not allowed here
Dort ist die Option auf AllowOverride FileInfo gestetzt, die ich für
eine andere Webseite brauche.
Hier sitzt das Huhn im Ei!

Am 12.08.2013 14:56, schrieb Rainer Volz:

Hm, dann würde ich erst einmal die Serverkonfiguration aufräumen. Sie
sollte z.B. so aussehen

| DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

|

Dann ist die Standardkonfiguration von einem Raspberry Pi mit Debian.
Dann sollte die Auswertung von lokalen .htaccess Dateien gelingen.


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

getwet avatar getwet commented on May 25, 2024

Das Problem lag an der AllowOverride. Ich habe die .htaccess in das
entsprechende Unterverzeichnis verschoben und angepasst. Dann hat auch
die .htaccess im bbs Verzeichnis gewirkt. Jetzt geht´s.

Muchas grazias

Am 12.08.2013 14:56, schrieb Rainer Volz:

Hm, dann würde ich erst einmal die Serverkonfiguration aufräumen. Sie
sollte z.B. so aussehen

| DocumentRoot /var/www

Options FollowSymLinks
AllowOverride All

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

|

Dann ist die Standardkonfiguration von einem Raspberry Pi mit Debian.
Dann sollte die Auswertung von lokalen .htaccess Dateien gelingen.


Reply to this email directly or view it on GitHub
#26 (comment).


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten dieses Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

from bicbucstriim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.