Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

latestnews v1.1.3 Problem


Recommended Posts

hi guys,

 

i am have trouble installing the following contribution:

 

 

latestnews v1.1.3

http://www.oscommerce.com/community/contri...rch,Latest+News

 

 

i get the following error in my index.php

 

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 'MAX_DISPLAY_LATEST_NEWS' at line 1

SELECT * from latest_news WHERE status = 1 ORDER BY date_added DESC LIMIT MAX_DISPLAY_LATEST_NEWS

[TEP STOP]

 

 

and another error in the admin

 

1146 - Table 'jamiecoull_MTS1.latest_news' doesn't exist

select news_id, headline, content, status from latest_news order by date_added desc

[TEP STOP]

 

 

i have gone over the install.txt about 100 times and its driving me mad!

 

please help :)

Link to comment
Share on other sites

Looks like you didn't import the MySQL commands for this contrib. That would account for both errors.

 

-jared

Edited by jcall
Link to comment
Share on other sites

hey... when i try input the latest_news.sql throught myPHPAdmin i get the following error:

 

 SQL-query:

# Insert configuration items into the configuration table.
INSERT INTO configuration( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, date_added )
VALUES (
'Latest News', 'MAX_DISPLAY_LATEST_NEWS', 3, 'maximum number of items to display in the Latest News box', 3, NOW( )
)

 

MySQL said: Documentation

#1146 - Table 'jamiecoull_OScom.configuration' doesn't exist

 

do i need to make a jamiecoull_OScom.configuration myself?

 

note, this is the first time i have used myPHPAdmin!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...