+ Reply to Thread
Results 1 to 2 of 2

Thread: Advertisment Section Doesn't Update - vshare 2.7

  1. #1
    Ejason21 is offline Junior Member
    Join Date
    Oct 2009
    Posts
    10

    Default Advertisment Section Doesn't Update - vshare 2.7

    I had to move my site from a shared server to a dedicated one. Cirtex did the transfer for me, When i go into the vshare admin to update the top banner for Advertisments after i make changes and hit save or enter it logs me out. This is the only section it does this in all the other ad zones i can change with no problem. Any Suggestions ?? or can i have some help??? THANKS

  2. #2
    anth0ny is offline Member
    Join Date
    Feb 2010
    Posts
    56

    Default

    I had the same problem when i moved hosts.

    I fixed it by simply uploading the following:

    /public_html/admin/advertisement_edit.php
    /public_html/admin/advertisement_status.php
    /public_html/admin/advertisements.php

    /public_html/templates/admin/advertisement_edit.tpl
    /public_html/templates/admin/advertisements.tpl

    The files became currupt when the transfer took place.

    If not you need to check the database.

    i will find the code for advertisements now and post it..




    CREATE TABLE IF NOT EXISTS `adv` (
    `adv_id` int(11) NOT NULL auto_increment,
    `adv_name` varchar(255) NOT NULL default '',
    `adv_text` text NOT NULL,
    `adv_status` enum('Active','Inactive') NOT NULL default 'Active',
    PRIMARY KEY (`adv_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;



    INSERT INTO `adv` (`adv_id`, `adv_name`, `adv_text`, `adv_status`) VALUES
    (1, 'banner_top', 'Your Ad Code', 'Active'),
    (2, 'banner_bottom', ' Your Ad Code', 'Active'),
    (3, 'home_right_box', 'Your Ad Code', 'Active'),
    (4, 'video_right_single', 'Your Ad Code', 'Active'),
    (5, 'wide_skyscraper', 'Your Ad Code', 'Inactive'),
    (7, 'player_bottom', 'Your Ad Code', 'Active');
    There you go!

    If that does not work drop the ADV table and recreate it!!

    And if that fails edit the database manually until you get it sorted
    Last edited by anth0ny; 03-24-2010 at 08:21 PM.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts