View Full Version : Contact Form
cstrock
09-14-2007, 08:58 PM
I created a contact form and put the .htaccess and index.php files in a folder called "cerb4req". But the images for the Contact Form are not appearing. The path for the images according to a properties on the Red X are as follows:
http://mysite/cerb4req/index.php/resource/usermeet.core/images/logo.jpg
I tried copying the plugin dir to the cerb4 dir, but that didn't do anything, I also tried renaming that copied plugin to resource to mimic the path it appears to by trying to get to.
Hildy
09-14-2007, 09:38 PM
This is a known issue when url re-writing is off: http://www.wgmdev.com/jira/browse/CHD-167
Be sure to toggle this setting in framework.config.php, also:
define('DEVBLOCKS_REWRITE', true);
cstrock
09-14-2007, 11:18 PM
I changed that setting, and now the images in my regular cerb4 dir don't work, and the cerb4req page brings up a logon prompt instead of just going into the questions.
I am on Windows w/ Xampp if that matters.
Corey
jstanden
09-15-2007, 12:11 AM
Hey Corey,
There are two steps, make sure you followed them both:
http://wiki.cerberusdemo.com/index.php/Installing_4.0#Finishing_Touches
Thanks!
Darryl Plunkie
10-05-2007, 06:16 PM
I've followed the above instructions and I'm still getting no images in the regular app, and the SC gets a login now, but resolves to a blank page after signin.
The SC is in a parent directory from the HD app (e.g. http://help.example.site, and the HD is in http://help.example.site/cerb4) so I am wondering if that makes a difference.
Any help would be appreciated.
jstanden
10-05-2007, 09:13 PM
Hey there!
What build of Cerb4 are you using? If you have updated into the 380s yet, follow these instructions:
http://wiki.cerberusdemo.com/index.php/Upgrading_to_Newer_Versions_of_Cerberus_Helpdesk_4 .0
Make sure that once you've updated you also copy the new index.php file for your Community Tools (from Community->Tool->Installation). This file normally won't change on updates, but it has changed slightly in the past 2 weeks to help fix this issue.
Let me know if that helps.
Thanks!
trafalger
10-11-2007, 06:09 PM
I don't mean to bump an old thread but this exact same problem is happening to me.
At first adding any .htaccess file would totally bork my setup but now after enabling AllowOverride All it will work fine in the main helpdesk but all the external modules are broken.
Anytime I try to hit /support or /kb it just pulls up a login page and you can never authenticate. If you click on "Forgot Password" it errors out to a white screen.
So you can see what i have to work with this is a ls of my directory...
/var/www/html
[root@helpdesk html]# ls -la
total 40
drwxr-xr-x 6 root root 4096 Oct 11 05:46 .
drwxr-xr-x 8 root root 4096 Jun 26 19:35 ..
drwxr-xr-x 10 apache apache 4096 Oct 11 08:01 cerb4
-rwxr-xr-x 1 774 apache 3948 Oct 5 09:46 cerb4-servercheck.php
d-wx--x--x 2 apache apache 4096 Oct 11 07:53 kb
drwxr-xr-x 2 apache apache 4096 Oct 10 15:01 support
drwxr-xr-x 2 apache apache 4096 Oct 10 07:10 upload
If i remove the .htaccess file it will all work BUT i need that file to limit access to the KB.
jstanden
10-13-2007, 09:14 PM
Hey there!
If you add any .htaccess file at all, your community tools (KB + Support Center) are going to flip into URL rewriting mode.
Make sure you use the .htaccess file from Community->Edit->Installation as your base. Then add your authentication directive to the .htaccess file in addition to it.
jstanden
10-13-2007, 09:16 PM
Also:
If your situation is more complex, and you can't use Apache's mod_rewrite in .htaccess but you still want to use authentication, you can just edit your index.php for the Community Tools:
Find the following line:
define('URL_REWRITE', file_exists('.htaccess'));
Change it to:
//define('URL_REWRITE', file_exists('.htaccess'));
define('URL_REWRITE', false);
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.