PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 18th, 2006, 07:04 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Location: North East, MD
Posts: 40
very strange problem with classifieds....

I moved my classifieds database to a different server last night and now I get this error:

Query: SELECT lon,lat FROM zipData WHERE zipcode = '21901'
Result: Table 'cl_sailnet.zipData' doesn't exist
Database handle: Resource id #24

when trying to use the classifieds...

The zipdata table is present and I can browse it using phpmyadmin on the new server, but when I attempt to run a query through the phpmyadmin interface I get an error that says the zipdata file does not exist.

However in phpmyadmin I also have an entry to the old database and I can query that database just fine.

any ideas as to why this is happening?

I used mysqldump to dump the file off the old server and mysql with the "<" option to restore it on the new server.

thanks in advance...
sailnet is offline   Reply With Quote
Old May 18th, 2006, 07:13 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Well thats strange indeed as that error states explicitely the zipData table does not exist.

That query only exists one place in the program and I see no issue in showcat.php

Code:
Content visible to verified customers only.
You can always redownload the build and reupload the main core files in case you have a real early 2.5
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 18th, 2006, 07:29 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Location: North East, MD
Posts: 40
Check - I just figured it out.

for some reason the table name is case sensitive on this server
sailnet is offline   Reply With Quote
Old May 18th, 2006, 10:36 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
What on import it changed the table name to zipdata
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 18th, 2006, 10:49 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2006
Location: North East, MD
Posts: 40
here is what I found out when raising the issue to the hosting company who setup the server for us:

-----------------------

This issue of Case-Sensitivity exists in Unix versions, Windows versions are case in-sensitive as far as table names are concerned. You may be experiencing problems related to this difference if you are transfering working MySql code from Windows to a Unix platform.

It is rumored that this issue may be resolved on newer versions of MySql. In the meantime, to avoid data transfer problems stemming from lettercase of database or table names, you have two options:

* Use "lower_case_table_names=1" on all systems. The main disadvantage with this is that when you use "SHOW TABLES" or "SHOW DATABASES", you don't see the names in their original lettercase.

* Use "lower_case_table_names=0" on Unix and "lower_case_table_names=2" on Windows. This preserves the lettercase of database and table names. The disadvantage of this is that you must ensure that your statements always refer to your database and table names with the correct lettercase on Windows. If you transfer your statements to Unix, where lettercase is significant, they do not work if the lettercase is incorrect.

Exception: If you are "using InnoDB" tables, you should set "lower_case_table_names" to 1 on all platforms to force names to be converted to lowercase.

Note that if you plan to set the "lower_case_table_names" system variable to 1 on Unix, you must first convert your old database and table names to lowercase before restarting mysqld with the new variable setting.
sailnet is offline   Reply With Quote
Old May 18th, 2006, 11:39 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Okay so your export from windows changed the table name
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange upload problem rlmagreer Photopost Pro Installation & Upgrades 4 March 23rd, 2006 01:22 PM
Very strange problem glorify Installs and Upgrade - vBulletin 3.5.X 1 August 28th, 2005 01:22 PM
Strange problem after upgrade DKNY Photopost Pro Installation & Upgrades 2 June 18th, 2005 07:34 AM
A strange navbar problem thevenue Photopost Pro Installation & Upgrades 25 March 10th, 2005 06:58 AM


All times are GMT -5. The time now is 06:21 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0