PDA

View Full Version : Call to undefined function: get_image()


nconfer
October 27th, 2003, 02:35 AM
Hi,
Just purchased your product, installed it (http://67.97.155.99/shop/store.php), and the front end appears to work fine. When I try and log in to the admin (username: admin password: password) I get the following error in Index.php:

Fatal error: Call to undefined function: get_image() in D:\WWWRoot\~wreaths\shop\squirrelcart\index.php on line 11

I did a search in Dreamweaver MX for the function get_image but it could not be found, so I'm having trouble getting a good idea why this error exists. Could someone please help me. Here is what my config file looks like at the moment:

$site_www_root = "http://67.97.155.99/shop";
$site_isp_root = ".";
$site_secure_root = "http://67.97.155.99/shop";
$cart_page = "/store.php";
$img_path = "images";
$sql_host = "localhost";
$sql_username = "mysql";
$sql_password = "";
$db = "Wreaths";
include "$site_isp_root/squirrelcart/cart.php";

Thank you for your time,
Nick Confer

Jamie
October 27th, 2003, 02:23 PM
Hi Nick,

This section of the forum is not for support. You probably do not have access to post in the other Squirrelcart specific sections. Please login on our support page, and add the email address you specified for your forum account to your support profile. This will run a script which will automatically grant your forum account proper access.

Once you do that, I will move this post to "Support \ Installation".

The function get_image() is located in the file "squirrelcart/functions/get_image.func". If you are missing that file, then it would explain the error.

Thanks,
Jamie

nconfer
October 28th, 2003, 02:33 AM
Ok I added myself to the support piece. I'm still having problems. It has to do with the fact that my website will load when calling the Store.php, but when I call the Index.php file the functions don't load properly. Its a config.php problem, I'm sure of it, but I've tried so much and nothing is working. Do you have any ideas???

Jamie
October 28th, 2003, 10:40 AM
Hi Nick,

At this point, it is probably better to open a ticket in our helpdesk. Please be sure to fill out the fields on the ticket for your FTP account and other info, so we can get in and check it out. You can paste a link back to this post for reference if you like.

Thanks,
Jamie