REVCMS API

ARMYDUDE

Member
Dec 16, 2011
39
2
everytime i click client. i wont goto the API thingy. i steady says 404!

api.png


and i also get this error

error.png

can anyone please help me with this are give me a tut in order to fix this problem.
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
Do you use IIS? In this case, use Helicon Ape to manage .htaccess instead of web.config files. If you use XAMPP make sure you have .htaccess in the correct folders.

For second error; Most likely curl support is not enabled.

You can check by creating a .php file with a phpinfo(); function in it. Browse to this and search/look for curl on the resulting page. If support is enabled, there will be a listing for it.
PHP:
<?php
    phpinfo();
?>
 

RastaLulz

fight teh power
Staff member
May 3, 2010
3,934
3,932
For the second one, you don't have cURL installed on your web server.

You can either:
  • Install cURL:
  • Not use cURL by going into "thehabbos_api/config.php", and setting "$_CONFIG['Curl_Enabled']" from 1 to 0.
 

ARMYDUDE

Member
Dec 16, 2011
39
2
im using XAMMP . Like what folders should have the .htaccess file in there?? im Kinda New to using RevCMS and kinda confused about that php thing too.. sorry
 

Heaplink

Developer & Designer
Nov 9, 2011
510
173
Folders such like the root of revcms (like localhost/revcms/) and ase folder (I guess also inside api folder)
 

Arijan

New Member
Sep 23, 2011
18
0
That easy to fix follow this mate !
go to c:\xampp\htdocs\app\tpl\skins\Priv and open me.php

find
PHP:
<li><a href="api.php">Client</a></li>
Replace with
PHP:
<li><a href="client">Client</a></li>
and
PHP:
<a href="api">Enter {hotelName}</a>
Replace with
PHP:
<a href="client">Enter {hotelName}</a>
 

Users who are viewing this thread

Top