Jump to content

php errors


hanswurst

Recommended Posts

Names of labels/artist do change as well as cat nos sometimes changing a little bit from time to time and, you're right, this will break the URL. There's no way of us keeping the old URLs alive in this case.

 

Creating a redirect table that link old cat nos to new or the release_id would be trivial.

 

Also if you use 301 redirects the search engines will know the new page replaced the old page and you'll keep your search rankings.

Link to comment
Share on other sites

We don't store the old cat nos or old label names, though, and at the moment they are overwritten with the new data and anything old is just lost. The way the system is updated at the moment doesn't actually make this as trivial as you might think but it's certainly something that we can look at building in in the future.
Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

SQL errors appearing for non-existant labels...

 

http://www.rolldabeats.com/label/reinforced

gives you

Notice: Undefined variable: label_log_id in /usr/home/rdb/www/label.php on line 369
MySQL query error: SELECT DISTINCT tags.name, tags.id FROM label INNER JOIN `release` r ON label.id = r.label_id INNER JOIN release_track ON r.id = release_track.release_id INNER JOIN track ON release_track.track_id = track.id INNER JOIN tags_tracks ON release_track.track_id = tags_tracks.track_id INNER JOIN tags ON tags_tracks.tag_id = tags.id WHERE label.log_id = AND parent_id = 0 ORDER BY tags.name ASC MySQL error: 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 'AND parent_id = 0 ORDER BY tags.name ASC' at line 8 MySQL error code: 1064 Date: Saturday 27th 2009f June 2009 04:07:23 PM

where as

http://www.rolldabeats.com/label/reinforced_records

is fine

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

The (invalid) http://www.rolldabeats.com/release/juice_box/jboxcd30/

 

complains

 

XML Parsing Error: mismatched tag. Expected: </body>.
Location: http://www.rolldabeats.com/release/juice_box/jboxcd30/
Line Number 143, Column 7:    </div>
------^

 

Whereas http://www.rolldabeats.com/release/juice_box/jbox30cd/ is fine

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.

Loading...
×
×
  • Create New...