Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installation #4

Open
interlan opened this issue Sep 17, 2013 · 11 comments
Open

Windows installation #4

interlan opened this issue Sep 17, 2013 · 11 comments

Comments

@interlan
Copy link

Win XP SP3, wamp local server. Latest release from github.
Installation showed the success page, then on trying to login I get a blank page.
error log file is :
[17-Sep-2013 10:53:15 UTC] PHP Notice: Use of undefined constant self - assumed 'self' in E:__misccms\bradycms\lib\Autoloader.inc on line 13

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: timezone in E:__misccms\bradycms\lib\cfg.inc on line 37

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: prefix in E:__misccms\bradycms\lib\cfg.inc on line 37

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: default_lang in E:__misccms\bradycms\lib\cfg.inc on line 37

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: db_connection in E:__misccms\bradycms\lib\cfg.inc on line 37

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: db_connection in E:__misccms\bradycms\lib\cfg.inc on line 37

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: user_confirmed in E:__misccms\bradycms\admin.php on line 37

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined variable: stop_error in E:__misccms\bradycms\admin.php on line 42

[17-Sep-2013 10:53:15 UTC] PHP Notice: Undefined index: user_confirmed in E:__misccms\bradycms\admin.php on line 49

[17-Sep-2013 10:53:15 UTC] PHP Warning: parse_ini_file(version): failed to open stream: No such file or directory in E:__misccms\bradycms\lib\version.inc on line 13

[17-Sep-2013 10:53:15 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'File version can not be parsed E:__misccms\bradycms\lib\version.inc, 16' in E:__misccms\bradycms\lib\version.inc:16
Stack trace:
#0 E:__misccms\bradycms\lib\version.inc(31): version::parse()
#1 E:__misccms\bradycms\modules\admin\admin.php(13): version::current()
#2 E:__misccms\bradycms\admin.php(51): admin_ctrl->showLoginForm()
#3 {main}

thrown in E:__misccms\bradycms\lib\version.inc on line 16

PS. Wouldn't it be better to use MySql?

Regards

Petros

@jbogdani
Copy link
Owner

Are you sure you are using the latest version from the Master branch (https://github.com/jbogdani/BraDyCMS/archive/master.zip)? I just made a test, using XAMPP on win vista SP2 and everything went fine. SQLite should work fine, anyway.
Please check and confirm the error and... thank you for testing!

@interlan
Copy link
Author

Maybe I have an SQLite issue. I can activate only php_pdo_sqlite extension. For some reason php_sqlite and php_sqlite3 fail to initialize.
Thanks

Petros

@jbogdani
Copy link
Owner

The CMS uses PDO (http://php.net/manual/en/book.pdo.php) for DB connection. You need to have sqlite driver installed for it to work. Check the PDO section of your phpinfo() output. Anyway the log you pasted above does not seem to have any connection with sqlite anyway. What version of php are you running?

@interlan
Copy link
Author

I set up a PORTABE local WAMP server (named Coral !!!). PHP is 5.4.14, Apache 2.4.x
bradycms.loc gives this modest page :
1
trying to access bradycms.loc/admin gives a blank page ( with a light grey background).
I tried with Firefox, Chrome and IE8. The same everywhere, except IE had a heading of server error 500!
Is it possible that something is wrong with .htaccess?

Regards

Petros

@jbogdani
Copy link
Owner

If you have installed it in the root directory (eg. http://localhost or http://site.localhost) you do not need to edit .htaccess file. If you have installed it in a sub directory (eg. http://localhost/mysite or http://localhost/some/path/site) you should edit the second line of the .htaccess file.
Do you have Apache mod_rewrite enabled? I'm setting up a new preinstall system check module to automatically check system compatibility.
Can you see anything at http://bradycms.loc/admin.php ?

@Emanuele20
Copy link

Hello! Having the same issue...try to install in a directory (http://www.myweb/urcms) mod the second line or .htaccess /urcms or writing the complete path like up....and always open my original start page www.myweb.....what i miss?
Kindly Regards
Emanuele

@jbogdani
Copy link
Owner

Hello @Emanuele20,
are you running apache on windows? Do you have mod_rewrite enabled?

@Emanuele20
Copy link

hi! i'm using hosting linux and tested .htaccess mod_rewrite is available...

@jbogdani
Copy link
Owner

If the installation folder is urcms, and if it is a subfolder of the localhost root directory, then the starting part (first two lines) of your .htaccess file should be:

RewriteEngine on
RewriteBase /urcms/

Your directory tree should be:

[web root]
|-- urcms
|----|--bower_components
|----|--css
|----|--docs
|----|--{etc...}
|----|--.gitmodules
|----|--.htaccess
|----|--LICENSE
|----|--{etc...}

You should point your browser at http://{your root we directory, es: localhost}/urcms and it should work.

@Emanuele20
Copy link

trying re-uploading all with that change...and nothing open always my index...about my available mod_write .htaccess i ve found here a simple test and return positive....in another project i've created a 404 page with .htaccess i know that is another thing....but....really dont know....

@jbogdani
Copy link
Owner

@Emanuele20 you could drop me a line at develop@bradypus.net and I'll try to help.
I'm not sure what issue you are running through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants