insideorkut.com

A free web iPage hosting service for my art and comics?

Click Here To View All Answers...


My question is A free web iPage hosting service for my art and comics? Hoping for any answer or 2. Second question.. Harald Ponce de Leon,.

Hi Harald, when I click on the little yellow folder beside one of my categories in the admininistration in the catalog menu, am I supposed to see an error message:.

"Fatal error: Call to undefined function: array_map() in includes/functions/general.php on line 1293".

...or am I supposed to be able to edit the default products - like hardware, software, dvd movies?.

I don't know where to go to edit default products and to work with the products in the admin. I'm using Windows 98SE with Apache 1.3.19, PHP 4.0.4pl1, mod_perl 1.24.01 with DAV 1.0.2 running and mySQL support...

Comments (157)

Good question... I dunno what is the answer to your question. I'll do some poking around and get back to you if I got an decent answer. You should email the people at iPage as they probably could give you help..

Comment #1

The function array_map() is not available in the version of php you are using. You need to upgrade to at least v4.0.6...

Comment #2

Vasttech,.

Ok,.

Thanks..

I'll dl php 4.0.6 or higher and install it. Any advice on how to upgrade php without rocking the boat?..

Comment #3

As long as you do not go for php5 it is more or less a plop and drop..

Comment #4

241,.

I had php 5.0 ready in hand to install. I'll be sure to use v.4.0.6 or thereabouts..

Thanks..

Comment #5

You could always add this function to admin/includes/functions/compatibility.php:.

 if (!function_exists('array_map')) {.

   function array_map($callback, $array) {.

     if (is_array($array)) {.

       $_new_array = array();.

       reset($array);.

       while (list($key, $value) = each($array)) {.

         $_new_array[$key] = array_map($callback, $array[$key]);.

       }.

       return $_new_array;.

     } else {.

       return $callback($array);.

     }.

   }.

 }.

Matti..

Comment #6

THanks Matti! Im running PHP 4.2.2, and had this problem. Your advice fixed it..

Mark..

Comment #7

Harald Ponce de Leon,.

Hi Harald, when I click on the little yellow folder beside one of my categories in the admininistration in the catalog menu, am I supposed to see an error message:.

"Fatal error: Call to undefined function: array_map() in includes/functions/general.php on line 1293".

...or am I supposed to be able to edit the default products - like hardware, software, dvd movies?.

I don't know where to go to edit default products and to work with the products in the admin. I'm using Windows 98SE with Apache 1.3.19, PHP 4.0.4pl1, mod_perl 1.24.01 with DAV 1.0.2 running and mySQL support...

Comment #8

Edit the default products in catalog catagories/products, same place you add products..

Comment #9


This question was taken from a support group/message board and re-posted here so others can learn from it.