close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Importing MySQL questions

Thread begun 5/19/2009 12:57 am by toby379423 | Last modified 5/20/2009 12:13 pm by Ray Borduin | 7415 views | 11 replies |

toby379423

Importing MySQL questions

Now that I've figured out how to do the left nav, I've got another question.

I have about 2700 items to put into a MySQL database that I want to import from an Excel file but got kind of stuck as to how I would go about linking up all of the images.

I've exported a CSV file from phpMyAdmin and started to add the info to the necessary columns/rows, but how would link up the images? I could do it manually in the admin area but that would take FOREVER...

Any thoughts/suggestions?

Sign in to reply to this post

Ray BorduinWebAssist

You could create a column for the image name in the excel spreadsheet and enter the image name in excel and upate the images with ftp to a single directory (or include the directory with the file name in the spreadsheet). Then you can import the image names to the database with the rest of the data.

Sign in to reply to this post
Did this help? Tips are appreciated...

toby379423

Sounds good. I was hoping that was the case.

Looks like I need to add a column for the small image & the large ones correct?

The other question that I had was, I noticed that there are a few columns that have the following in them:

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Geneva; color: #333333">Size : 20 x 20&#160;</p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Geneva; color: #333333">Item Type : Print on canvas&#160;&#160;</p>

<p><span class="\&quot;Apple-style-span\&quot;" style="\&quot;font-family:">Size:<span class="\&quot;Apple-tab-span\&quot;" style="\&quot;white-space:"> </span>&#160;19 3/4 x 19 3/4</span>&#160;<br /><span class="\&quot;Apple-style-span\&quot;" style="\&quot;font-family:">Type:&#160;Print on canvas</span>&#160;</p>

<p><span class="\&quot;Apple-style-span\&quot;" style="\&quot;font-family:">Size:<span class="\&quot;Apple-tab-span\&quot;" style="\&quot;white-space:"> </span>&#160;19 3/4 x 19 3/4</span>&#160;<br /><span class="\&quot;Apple-style-span\&quot;" style="\&quot;font-family:">Type:&#160;Print on canvas</span>&#160;</p>

Is this something I'll have to add manually in html before updating my database as well? Or can I just go ahead & add to the columns & put in the descriptions without the html?

Sign in to reply to this post

Ray BorduinWebAssist

You can put them in without html.

Sign in to reply to this post
Did this help? Tips are appreciated...

toby379423

More database issues...

Will do.

Now on to another question....

I had the site set up & working at awas just fine, but now when I moved everything over to awallartstore.com, it seems that the category links aren't working...
I downloaded the existing database (titled db284823284) and imported it into a new one (titled awas) to a new database at awallartstore.com using phpMyAdmin but can't seem to figure out what I'm doing wrong. I'm sure there's something I'm missing here, could you point me in the right direction?

Sign in to reply to this post

Ray BorduinWebAssist

Probably the local or remote root directory settings in the WA_Globals file.

Sign in to reply to this post
Did this help? Tips are appreciated...

toby379423

I looked at the WA_Globals.php file and everything seems to be correct.

Here's what I have:

$WAGLOBAL_Root_URL = "https://awallartstore.com/" ;
$WAGLOBAL_Site_Name = "A Wall Art Store" ;
$WAGLOBAL_Address = "149 Standard";
$WAGLOBAL_City = "El Segundo";
$WAGLOBAL_State = "CA";
$WAGLOBAL_Zip = "90245";
$WAGLOBAL_Country = "USA";
$WAGLOBAL_GoogleAPIKey = "ABQIAAAA9kH9PD4z9WFvSN_DvnrvtxTeRESP1zCc9oQO_6arlMgopXBV5hRQ3DBvjVqDJQOu1OYzyGA5XM-l3g";
$WAGLOBAL_localRoot = "/";
$WAGLOBAL_remoteRoot = "/";

Could it possibly be something in the menu.php or intermediate.php files? I'm really drawing a blank here...

Sign in to reply to this post

Ray BorduinWebAssist

Maybe if you edited the menus with menu writer it may have overwritten the globals reference.

Sign in to reply to this post
Did this help? Tips are appreciated...

toby379423

The only changes I made were to the localhost.php file and the WA_Globals.php file.

Sign in to reply to this post

Ray BorduinWebAssist

I'm not sure then. What is wrong with the link exactly?

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...