Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / images links changing

images links changing

Locked

Started by lackew on 17 Oct 2009, 8:22 PM · Views: 992

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
17 Oct 2009, 8:22 PM
#1
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

images links changing

i had a problem with pics being unsecured and found the thread advise to use relative addresses. This worked wonderfully............ Until I had to Reset the database from Admin/Store Manager, now all the links changed from images/filename.jpg to http://domainname.com/admin/images/filename.jpg so I had to redo all the pages with links or added pics.

Is there anyway to prevent this the next time I have to reset the database??????

blessed be the day we make tomorrow a better yesterday

19 Oct 2009, 1:33 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: images links changing

I don't understand what you're saying.

Nothing in the Store Manager tool has anything to do with image links.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Oct 2009, 8:47 PM
#3
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: images links changing

I set up a few links and images on my website which I was getting an unsecure error which I corrected by using relative links instead of the full path.
From Admin/Tools/Store Manager I got a warning I needed to reset my database. After doing so all the links & pic that I added were changed from " includes/images/filename.jpg to http://your-ehome.com/admin/includes/images/filename
this was done for links and pics so they no longer worked

dont know how else to explain it

blessed be the day we make tomorrow a better yesterday

19 Oct 2009, 8:54 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: images links changing

Lackew:

From Admin/Tools/Store Manager I got a warning I needed to reset my database.There's nothing there that will tell you to reset your database.
There is something that may tell you that your Admin Activity Log is over 2 months old or over a certain number of records, and tell you to purge it.

But doing that sort of purge of the admin activity log ONLY touches the admin_activity_log table. It has NOTHING to do with anything else like product or image data.

So, whatever problem you've got must be related to something else.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Oct 2009, 9:06 PM
#5
lackew avatar

lackew

Zen Follower

Join Date:
Aug 2009
Location:
Tampa Bay
Posts:
223
Plugin Contributions:
1

Re: images links changing

perhaps it was Optimize Database
guess I will find out which one the next time :no:

blessed be the day we make tomorrow a better yesterday

10 Mar 2010, 3:06 AM
#6
wlmartin avatar

wlmartin

New Zenner

Join Date:
Jun 2008
Posts:
34
Plugin Contributions:
0

Re: images links changing

I believe I had the same issue. Not only did it affect the image links I also had some links to other site pages in the conditions and privacy pages that it also affected. Don't know how I did it or what may have happened. I accidentally found out when I clicked on the properties of the images and also viewed the source of the page did I see references to my renamed admin folder - freaked me out.

I have been trying ever since to set up relative links in both html editor and now trying FCKeditor and still can't seem to get them to recognize the links I am trying to write. It appears they want to write an absolute link.

Since I am new at this I am sure I am not writing them correctly or sending the link to look at the wrong directory.:dontgetit

Louis Martin
crewmerch.com