Announcement

Collapse
No announcement yet.

How to fix error on dedicated and VPS pages (video)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to fix error on dedicated and VPS pages (video)

    Recently I encountered an issue with my order form not working and decided to do a fresh reinstall of Wordpress with the RSP plugin and themes. After this I began getting an error message on the VPS and dedicated hosting pages as shown in the attached image.

    I looked at the line 24 throwing the error and it's code is:
    Code:
        if ($custom_meta['rpwp_header_type'][0]=='dedicated') $video_path = 'http://'.rp_store_info(array(key=>'store_name')).'.duoservers.com/videos/DuoServers-dedicated-640-var.new1.mp4';
    I fixed this by changing the code to:
    Code:
        if ($custom_meta['rpwp_header_type'][0]=='dedicated') $video_path = 'https://YOURSTORENAME.duoservers.com/videos/DuoServers-dedicated-640-var.new1.mp4';
    I just thought I'd share this fix in case anyone else begins to experience this with their RSP Wordpress themes.

  • #2
    Thanks for letting us know

    Comment


    • #3
      that is really great!

      Comment

      Working...
      X