some difficulties on the deployment

7 views
Skip to first unread message

loudoweb

unread,
Nov 19, 2009, 6:30:32 PM11/19/09
to haXigniter
hello,
I'm trying to run haxigniter on my web server (on localhost with wamp
5), but I have some troubles.

I followed the quick start for compiling and running, but when I
browse on localhost, I have some errors:

''uncaught exception: session_start() [function.session-start]: open
(C:/Program Files/wamp/www/lib/haxigniter/application/runtime/session/
\sess_d803382f53136954a48bbd80fff3a2a2, O_RDWR) failed: No such file
or directory (2)

in file: C:\Program Files\wamp\www\lib\php\Session.class.php line 138
#0 [internal function]: _hx_error_handler(2, 'session_start()...', 'C:
\Program File...', 138, Array)
#1 C:\Program Files\wamp\www\lib\php\Session.class.php(138):
session_start()
#2 C:\Program Files\wamp\www\lib\haxigniter\Application.class.php(66):
php_Session::start()
#3 C:\Program Files\wamp\www\lib\haxigniter\Application.class.php(42):
haxigniter_Application->startSession()
#4 C:\Program Files\wamp\www\lib\haxigniter\Application.class.php(90):
haxigniter_Application->run()
#5 C:\Program Files\wamp\www\index.php(11):
haxigniter_Application::main()
#6 {main}

Fatal error: Exception thrown without a stack frame in Unknown on line
0''

do you have some ideas on this issue?
thx

Andreas Söderlund

unread,
Nov 19, 2009, 6:50:05 PM11/19/09
to haxig...@googlegroups.com
Hello, thanks for trying out haxigniter! It could be that php is trying to create the session files in a directory that doesn't exist. According to the error it should be:

C:/Program Files/wamp/www/lib/haxigniter/application/runtime/session

If it doesn't exist, can you create it and try again? It should be auto-created when you use the build tools (build.bat/build.sh) however.

I'm only a few days from releasing a completely new version of haxigniter for haxelib, it will have less of those build issues. Stay tuned!


/Andreas

loudoweb

unread,
Nov 20, 2009, 10:57:53 AM11/20/09
to haXigniter
Ok,
I create the folder 'runtime/session' like you said, then I create the
folder 'views' (with folder 'start' and mtt file) and it works.
So the build.bat doesn't work on my computer (windows vista 32bits
sp2)
thanks again for your answer!
happy haxe coding :p

Andreas Söderlund

unread,
Nov 20, 2009, 12:29:15 PM11/20/09
to haxig...@googlegroups.com
Glad you made it work! The new build tools will work much better in the next release, because they are written in neko instead.

I better get started on the last push before releasing...

/Andreas
Reply all
Reply to author
Forward
0 new messages