[RevCMS (skins)] Site is always fucked up?

Status
Not open for further replies.

xaiqiz

New Member
May 10, 2013
13
0
Hey all,

When I use the original RevCMS 1.9.9.9 theme, it is working normally.
But when I try a RevCMS theme, the site is completely fucked up....
Live demo:

I am using IIS and I have Helicon Ape, Url Rewrite and PHP 5.4 installed.
My web.config is the original one which Kryptos posted..

I have it on almost every Theme!
Who knows a fix? :(
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
Hey,

The issue to this is RevCMS loads the CSS and JS files and sets other parameters, but an issue with this is it'll mess up the index, so for skins people edited the main index.php file to not call everything and just call the files they need in their skin.

Replace the MAIN (in the root directory) index.php file with the following:

PHP:
<?php
 
define('IN_INDEX', 1);
 
require_once 'global.php';
 
$core->handleCall($engine->secure($_GET['url']));
 
$template->html->get($engine->secure($_GET['url']));
 
$template->outputTPL();
 
?>

And that should do the trick.
 

xaiqiz

New Member
May 10, 2013
13
0
Hey,

The issue to this is RevCMS loads the CSS and JS files and sets other parameters, but an issue with this is it'll mess up the index, so for skins people edited the main index.php file to not call everything and just call the files they need in their skin.

Replace the MAIN (in the root directory) index.php file with the following:

PHP:
<?php
 
define('IN_INDEX', 1);
 
require_once 'global.php';
 
$core->handleCall($engine->secure($_GET['url']));
 
$template->html->get($engine->secure($_GET['url']));
 
$template->outputTPL();
 
?>

And that should do the trick.


I did that and now it looks like:
And btw, it isn't only at the Index but at the whole site ;o
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
I did that and now it looks like:
And btw, it isn't only at the Index but at the whole site ;o


Yup, what I meant was ALL files will be called to every file.

I just loaded up your index on my localhost and changed the domain name to the IP address of your website, and it appears to be fine for me, I'm not sure of this issue, but if you change the main URL to your IP address (for testing) you will see it now works fine, just an issue w/ the domain name or something.

- EDIT -

I pinged your domain name, and it brought up an alternative IP (could be proxy, doubtful though), this may be your issue - due to this not presenting any files and again I'm doubting its a proxy.
 

xaiqiz

New Member
May 10, 2013
13
0
Yup, what I meant was ALL files will be called to every file.

I just loaded up your index on my localhost and changed the domain name to the IP address of your website, and it appears to be fine for me, I'm not sure of this issue, but if you change the main URL to your IP address (for testing) you will see it now works fine, just an issue w/ the domain name or something.

- EDIT -

I pinged your domain name, and it brought up an alternative IP (could be proxy, doubtful though), this may be your issue.

Thanks man! I changed my domain name to my VPS IP and it worked!
My domain was already buggy, so that was the problem!
 
Status
Not open for further replies.

Users who are viewing this thread

Top