• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] Can't bring up new pages - htaccess problem?

Started by thexyd,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thexydTopic starter

Hi, so it'd be easier for me to just show you the problem: http://vidcdn.rdforum.org/

Head there and try to login, or to register, etc. Notice how it brings you back to the same page you are already on? This is using the default .htaccess file:

Quote<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^embed/([^/]*)/$ /embed.php?id=$1 [L]
RewriteRule ^feed(.*)$ feed.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/?$ index.php?rp=$1 [L]
</IfModule>
<ifModule mod_headers.c>
    Header set Access-Control-Allow-Origin: *
</ifModule>

Any ideas on how to fix this?
Thanks!
  •  

Marius

Hi! The .htaccess file is fine, the server has mod_rewrite working?
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

thexydTopic starter

Yes sir, prior to the .htaccess being enabled it would give you 404s for certain areas, now with .htaccess it doesn't give errors however all pages now go to the main page (as you can see).
  •  

Marius

This happens since setup? If so, my guess is your database connection is wrong in vibe_config.php.
Re-check it, and re-run setup.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

thexydTopic starter

Yes, this happens on both OpenLitespeed and on apache - from the start. I saw another thread regarding database connections being an issue, however I have verified the settings and put error_reporting on to no avail - the database works fine (and it's created fine), this one is a mystery to me.
  •  

thexydTopic starter

I fixed this, with a reinstall of CentOS6 this time on x86 instead of 64.
  •  

Marius

Probably something went wrong in the OS setup, it happens, I hate those parts when you have to crawl 1000 configs for a issue :(

Glad you fixed it.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Similar topics (7)