Main

April 07, 2006

Session issues on Dreamhost

After five days and many hours of frustration while trying to implement session management and database access on dreamhost, it is finally working. A big, huge, gigantic thanks must go out to Shawn, who sat with me many times for several hours trying to get it to work while probably getting as frustrated as I was (well....maybe not as frustrated). Thank you, thank you, thank you.

In any case, some others may run into this problem. So here are some warnings and instructions on what to do. First, there has been a list modules script floating around that supposedly lists all the perl modules on your server. IT IS NOT ACCURATE. According to its findings, CGI::Session was not installed on dreamhost, which ended up being very incorrect and causing me to waist many hours and several days trying to install a module. The best thing to do is to check your hosting service. Dreamhost lists all modules that they have installed somewhere on their info site and you can check if a module is installed on the command line by issuing the command perl -M The::Module::Name. Another tip, installing the module was not easy at all. There were permissions errors that prevented it from working causing Shawn to have to modify the makefile. I am not sure if this is normal as Shawn said that particular makefile looked kind of strange (it may have also happened because the module was installed system wide- I don't know). But be advised that it may not always be as easy as it should be.

Continue reading "Session issues on Dreamhost" »

March 20, 2006

Midterm Project Concept

For my Dynamic Web Development Midterm, I wanted to begin working with register, login, session creation, forums and the ability to upload video to a personal page of a website just to become familiar with these concepts. My ultimate idea is to be able to upload video to your own personal page or upload it by tagging to a particular video forum. ( Please also read my previous post for PPM for further final project ideas). The first problem I encountered was being able to create a session. I entered in the wrong information in my info.pl file, which caused many hours of confusion. Next, I wanted to change the uploading image example to upload video instead. I played with this for a while and I think I am close to figuring it out but its not working yet. The next thing I wanted to be able to do was create forums where specific users could subcribe and upload images that would only be displayed in the forum they were attached to. I also wanted to add the functionality of being able to create new forums, search forums and display avialable forums. Unfortunately, only creating new forums and displaying available forums is working currently. Please see my example. Its still a work in progress.