Pages: [1]
Print
Author Topic: problem with BASEPATH / $system_folder  (Read 710 times)
Billw
Pre-Sales
Newbie
*
Posts: 15


« on: May 20, 2010, 06:45:23 PM »

SETUP.PHP fails as follows:

Fatal error: require_once() [function.require]: Failed opening required '/home/content/a/q/u/aquhst/html/aqu/storelocator/warpcore/codeigniter/CodeIgniter.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/a/q/u/aquhst/html/aqu/storelocator/setup.php  on line 114

The /html seems to be the customer's "root" on This godaddy hosted server, and everything afterward is valid (aqu/storelocator/warpcore/codeigniter/CodeIgniter.php). 
Logged
Support
Administrator
Jr. Member
*****
Posts: 93



« Reply #1 on: May 20, 2010, 08:49:04 PM »

Lets first check the files warpcore/setup/config/config.php and warpcore/admin/config/config.php. Both have a common set of configuration varables set that set the URI protocol.

Open both files and look for the URI PROTOCOL section and manually set the $config['uri_protocol']
to one of the suggested flavors. I would recommend starting with QUERY_STRING by assigning that variable directly below the flow control statement like:

Quote
$config['uri_protocol']   = "AUTO";
if (strpos($_SERVER['SERVER_SOFTWARE'], 'IIS') !== false)
{
   $config['uri_protocol']   = "QUERY_STRING";
}
$config['uri_protocol']   = "QUERY_STRING";

Be sure to do this in both files and if QUERY_STRING doesn't work try sequentially one of the other 5.
Logged
Billw
Pre-Sales
Newbie
*
Posts: 15


« Reply #2 on: May 24, 2010, 12:43:12 PM »

Thanks.  My first problem was I had forced all filenames to lower case, but the QUERY_STRING was the solution to the next problem.  Now during SETUP STEP 1 of 3: Database Connection Settings, all my information is correct but I get the following error:

Fatal error: Call to a member function list_tables() on a non-object in /home/...../warpcore/setup/controllers/initialize.php  on line 458
Logged
Support
Administrator
Jr. Member
*****
Posts: 93



« Reply #3 on: May 24, 2010, 01:12:55 PM »

For some reason the database library is not being loaded. If you've changed the filename structure that may be the cause (not sure) so I would re-install the original files from the archive.

To check the db connection place the attached diagnostic (connect_test.php) on your server and edit
Quote
$db_user = "username";
$db_password = "password";
$db_name = "dbname";
$db_server = "localhost";
to include the correct db login attributes. Then access the file with your web browser to verify you can connect to the db.

Support
Logged
Billw
Pre-Sales
Newbie
*
Posts: 15


« Reply #4 on: May 26, 2010, 03:20:49 PM »

I've entered a test address, including latitude and longitude, verified when I "browse location data", but even when searching the same zip code I get the message "No locations found near [zipcode]".  Scrolling manually on the map to that location does not show any marker, either.

Thanks - Bill w
Logged
Support
Administrator
Jr. Member
*****
Posts: 93



« Reply #5 on: May 26, 2010, 08:20:41 PM »

If you've gotten into the admin control panel I'll assume setup was working. On that note also update warpcore/literadius/config/config.php with the URI Protocol you are now using in admin and setup.


To better understand the situation I will refer to the Adding Location Data section of the documentation's Getting Started page at this url:
Quote
I will assume all prior steps have been carried out.

Here it is recommened the sample location data file us_filter.txt is used to test the system, so could you please upload this data file to the US location data table. Once that is done:

1 - Go to the Admin Control menu item: "Location Data->Browse Edit Locations".
2 - From the displayed list click the "edit" link next to any location.
3 - Click the "Find Coordinates" Button and in the map window find the location and save it to the edited location data entry form. You should see the coordinates fill the Longitude and Latitude data entry text box. If this works then we can confirm the Google API key is working correctly for this url
4 - Click the "Update Record" button to save the coordinates.
5 - From the Admin Control menu select: "Location Data->Batch Geocode".
6 - Click the "Geocode Region" button to encode the remaining locations. This takes about 1 per second.
7 - Test the default Golf Locator web page by selecting "LiteRadius->Show Demo golf_locator.htm". Before you do this make sure you have input your Google API key into the default locator page.
8 - Once the default page opens enter a city or postal code in the "Find Locations" point of entry text box.

Please note any points in the diagnostic that fail to work.

Support

Logged
Pages: [1]
Print
Jump to: