Jump to content

dtwood01

Clients
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

dtwood01's Achievements

  1. Great, thank you! We've got backups for sure. We'll put old items into an archive directory before completely deleting to make sure everything is working properly.
  2. Good to know, here is a screenshot of other directories inside public_html/forum.
  3. Hey all, very recently we received a notification from our WHM that there were two file paths to ipb_converge.php files that were flagged as malware utilizing SQL injection. Taking a look at both of these files, they are both identical, and all lines of code seem to be very well documented. They also have not been touched or modified since 2012, so we're wondering if they're in the right place or even necessary. It also seems odd that one of them resides within a css folder structure. Happy to provide any additional information, just seems odd that they're being flagged just now. Paths to files, just to know if they are actually in the proper place: public_html/forum/public/min/ipb_converge.php public_html/forum/public/style_css/ipb_converge.php
  4. I'm receiving the following in my response. My community url is correct, is that not the right path for /core/members? Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  5. Thank you for the response. I'm receiving no curl errors with the below. <?php $communityUrl = 'http://poolspaforum.com/forum/api'; $apiKey = 'mtapikey'; $curl = curl_init( $communityUrl . '/core/members' ); curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HTTPAUTH => CURLAUTH_BASIC, CURLOPT_USERPWD => "{$apiKey}:" )); if(curl_exec($curl) === false){ echo 'Curl error: ' . curl_error($curl); }else{ echo 'Operation completed without any errors'; } $response = curl_exec( $curl ); ?> <h1>Hi</h1> <p><?php echo $response; ?></p>
  6. Just want to bump this. I'm still having issues and not sure where I'm going wrong. I'm following the instructions found here: https://invisioncommunity.com/developers/rest-api
  7. I'm attempting to make a basic call to the api using the example code found in the documentation, and I'm not seeing anything resulting in the php echo. Can someone point me in the right direction? I have a basic grasp of php. I also am sure that the api key has access to api/core/hello as set in the AdminCP. <?php $communityUrl = 'https://www.poolspaforum.com/forum/'; $apiKey = 'myapikey'; $curl = curl_init( $communityUrl . 'api/core/hello' ); curl_setopt_array( $curl, array( CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_HTTPAUTH => CURLAUTH_BASIC, CURLOPT_USERPWD => "{$apiKey}:" ) ); $response = curl_exec( $curl ); echo $response; ?> <h1>Hi</h1>
×
×
  • Create New...