- Title: New member
- Status: Offline
- Registered: 2010-07-18
- Posts: 2
Topic: Only home page works
Hi Jobbers Team,
I downloaded jobberBase software and unzipped it. I am using CentOS 5.4. I modified all the config files as mentioned on the wiki. I setup the db as well. In my document root (/var/www/html) I created a new directory named jobportal. I copied everything inside public folder to jobportal folder on apache server. I changed the app_path in config.envs.php to 'http://localhost/jobportal'. Then i tried accessing the url 'http://localhost/jobportal' and I got the home page perfectly fine. Same thing for admin as well. Login page came fine for admin. However, now from home page if I click on any of the other URL, it doesn not work. The url shown in the browser is never loaded and my error_log for httpd says that file 'http://localhost/jobportal/post/' not found kind of error for resp pages. I have checked my php details. It is 5.2 and has mod_rewrite loaded in it. I have copied .htaccess files in jobportal and admin folder. Do I need some more changes somewhere. I have tried lot of trial and error methods but nothing seems to help. I need to roll out this thing soon.
Please HELP!
Thanks,
Sanjay Y
- Title: Administrator
- Status: Offline
- From: Oradea, Romania
- Registered: 2008-08-20
- Posts: 958
Re: Only home page works
Hi,
Did you try adding the line RewriteBase /jobportal to the .htaccess file from the jobportal folder?
If you do have that line and it still doesn't work for you, it most likely means that Apache is not correctly configured or maybe there's a permission problem with the jobportal folder.
- Title: New member
- Status: Offline
- Registered: 2010-07-18
- Posts: 2
Re: Only home page works
Yes. I had added the RewriteBase /jobportal also. But I got the same results. not sure what could be missing on configuration part.
- Title: Member
- Status: Offline
- Registered: 2009-03-01
- Posts: 358
Re: Only home page works
Maybe a missing forward slash at the end?
'http://localhost/jobportal/
- Title: New member
- Status: Offline
- Registered: 2011-01-22
- Posts: 3
Re: Only home page works
I faced the same problem make a job1 folder in www directory as i am running wampserver, copy all files that resides in public folder make sure you grant read write access to your public folder right click the folder and uncheck read only option then copy all files which are there in your public folder and paste these files in your job1 folder.
Now go to _config folder open config.envs file and remove this line 'app_url' => and write this line 'app_url' => 'http://localhost/job1/',
Save it. Now go to phpmyadmin make database there (Databasename= jobberbase) click on import button and there give the link of your jobberbase database which you will find in jobberbase folder and then execute the queries.
Finally in your browser write this url http://localhost/job1/
Done 
Posts [ 5 ]
Guest posting is disabled. You must login or register to post a reply.