Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link manager problems


Digerdoo

Recommended Posts

I just installed links manager and now comes

 

Warning: Division by zero in /mydomain/includes/classes/split_page_results.php on line 59

 

line 59:

 

$this->number_of_pages = ceil($this->number_of_rows / $this->number_of_rows_per_page);

 

 

can someone help ?

 

:'(

Link to comment
Share on other sites

I just installed links manager and now comes

 

Warning: Division by zero in /mydomain/includes/classes/split_page_results.php on line 59

 

line 59:

 

$this->number_of_pages = ceil($this->number_of_rows / $this->number_of_rows_per_page);

can someone help ?

 

:'(

 

And adminstration :

 

Warning: Division by zero in /mydomain/admin/includes/classes/split_page_results.php on line 33

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-0, MAX_LINKS_DISPLAY' at line 1

 

select l.links_id, l.links_url, l.links_image_url, l.links_date_added, l.links_last_modified, l.links_status, l.links_clicked, ld.links_title, ld.links_description, l.links_contact_name, l.links_contact_email, l.links_reciprocal_url, l.links_status from links l left join links_description ld on l.links_id = ld.links_id where ld.language_id = '4' order by ld.links_title limit -0, MAX_LINKS_DISPLAY

 

[TEP STOP]

 

line 33:

 

$num_pages = ceil($query_num_rows / $max_rows_per_page);

 

what is problem ?

 

:'(

 

:blink:

Link to comment
Share on other sites

MAX_LINKS_DISPLAY is a new field in the database and the code can't find it so my guess is that you haven't updated the database.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

So what i have to do ?

 

run link_setup again ?

 

:'(

 

 

now comes when i go in adminstration:

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mydomain/admin/links.php on line 658

 

Warning: reset() [function.reset]: Passed variable is not an array or object in /mydomain/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /mydomain/admin/includes/classes/object_info.php on line on line 18

 

 

 

:'(

Link to comment
Share on other sites

So what i have to do ?

 

run link_setup again ?

 

:'(

No, that will cause more problems. See this thread for the procedure for updating.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...