Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Article Manager


jimtsik

Recommended Posts

Posted

I have already install the full package of article manager in my e-shop . When i 'm doing a new topic from the admin side and trying to go into to put some articles , i get this error message and it remains at the top of the article manager .

 

Warning: array_map(): The first argument, 'tep_string_to_int', should be either NULL or a valid callback in /home/khposgr/public_html/shop/admin/includes/functions/articles.php on line 16

 

In the side of the e-shop , when i 'm trying to see the new articles , or all articles topic , i get this error message :

Warning: Missing argument 3 for splitpageresults() in /home/khposgr/public_html/shop/includes/classes/split_page_results.php on line 24

 

Warning: Missing argument 4 for splitpageresults() in /home/khposgr/public_html/shop/includes/classes/split_page_results.php on line 24

 

Pls help !!!!

 

Thank you very much !!

Posted
I have already install the full package of article manager in my e-shop . When i 'm doing a new topic from the admin side and trying to go into to put some articles , i get this error message and it remains at the top of the article manager .

 

Warning: array_map(): The first argument, 'tep_string_to_int', should be either NULL or a valid callback in /home/khposgr/public_html/shop/admin/includes/functions/articles.php on line 16

 

In the side of the e-shop , when i 'm trying to  see the new articles , or all articles topic , i get this error message :

Warning: Missing argument 3 for splitpageresults() in /home/khposgr/public_html/shop/includes/classes/split_page_results.php on line 24

 

Warning: Missing argument 4 for splitpageresults() in /home/khposgr/public_html/shop/includes/classes/split_page_results.php on line 24

 

Pls help !!!!

 

Thank you very much !!

 

 

I have this installed but never seen stuff like this.

Suggest you de-install this and do it again following the instructions to the letter.

 

If it then still fails, I am here.

Treasurer MFC

  • 4 months later...
Posted

This is in reply to the array_map issue.

 

I had the exact same issue with my version of osC. I finally realized that the function tep_string_to_int did not exist on the admin side. What solved my problem was adding:

 

function tep_string_to_int($string) {
   return (int)$string;
 }

 

to admin/includes/functions/general.php. I added it there instead of the functions/articles.php because I wanted to make sure any future addons that may need it will be ok. B)

 

The spiltpageresults issue is because the version of that file you are using does not match your version of article manager.

 

Laurie

 

 

I have already install the full package of article manager in my e-shop . When i 'm doing a new topic from the admin side and trying to go into to put some articles , i get this error message and it remains at the top of the article manager .

 

Warning: array_map(): The first argument, 'tep_string_to_int', should be either NULL or a valid callback in /home/khposgr/public_html/shop/admin/includes/functions/articles.php on line 16

 

In the side of the e-shop , when i 'm trying to  see the new articles , or all articles topic , i get this error message :

Warning: Missing argument 3 for splitpageresults() in /home/khposgr/public_html/shop/includes/classes/split_page_results.php on line 24

 

Warning: Missing argument 4 for splitpageresults() in /home/khposgr/public_html/shop/includes/classes/split_page_results.php on line 24

 

Pls help !!!!

 

Thank you very much !!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...