The Joomla! Forum ™



Forum rules


Please submit all new Tips and Tricks to: http://docs.joomla.org/Category:Tips_and_tricks

This forum section will be closed and removed eventually.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jun 13, 2007 11:23 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Wed Jan 31, 2007 12:54 am
Posts: 2
Aroha folks...this is my first post and contribution back to this aweshum forum...enjoy!  :pop

I recently migrated my Joomla 1.0.12 installation from one server to another, and ran into some problems with the Item ID being set to 0 for each new story, user, menu item, etc.  This causes all sorts of problems, namely, you are unable to continue adding new stuff to your site...rendering you stuck in the mud.

Essentially, you need to make sure specific database tables are set to 'auto_increment' the Item IDs.  This can easily be done using something like phpMyAdmin to modify your tables.

Do this for each table in your database, unless noted in the DO NOT EDIT list below.

1) login to your database using phpMyAdmin
2) select the first table in the database, i.e. jos_acajoom_lists
3) look for the 'id' field.  click on the 'change' icon next to that (looks like a pencil).
4) in the edit window, erase the '0' from the 'Default' field.
5) next, select 'auto_increment' from the 'Extra' field.
6) click the Save button to exit

Repeat as necessary until you have done this for all tables, except these below.  Just leave them as-is, as they do not need to auto-increment:

----------DO NOT EDIT THESE TABLES -----------
jos_acajoom_stats_global
jos_acajoom_xonfig
jos_content_frontpage
jos_core_log_items
jos_core_log_searches
jos_groups
jos_modules_menu
jos_poll_menu
jos_session
jos_stats_agents
jos_templates_menu
jos_usertypes
----------DO NOT EDIT THESE TABLES -----------


When you're done, all the necessary 'Default' fields should be blank, and all their respective 'Extra' fields should be set to auto-increment.

cheers,
rediray


Last edited by rediray on Wed Jun 13, 2007 11:29 pm, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group