|
The Video site builder works well on many web hosts. However,
different web hosting companies often use different settings on their
servers that can cause problems with any script. The script is setup to
work on most web hosts. If the script is not working on your web host,
here are some suggestions.
Specific Web Host Changes
Host4Profit |
Web-Mania |
1and1 |
UM
General Troublshooting
After installing the script, my index page is blank:
This is probably due to the template system not being able to write
to your template_c folder.
1. Try changing permissions on the template_c, and cache_xml folders
to 775, or to 777.
2. The init.php and keywords.php files need to be written to. Try
changing permissions to 644, 664 or 666.
---------------------------------------------
The setup.php file has run and I entered all the info, but after
clicking the create button, there was just a quick change of screen that
brought me back to the data entry screen again with all your info on it.
The script can't write to the init.php and keywords.php files. Try
changing the permissions on those files to 644, 664, or 666 so they are
writeable.
---------------------------------------------
What do I need to create sites with the Video Clip Sites script?:
You will need a Unix/Linux web hosting account
PHP4 or PHP5
Curl, or PHP function file_get_contents enabled for remote access if
Curl is not available
The above are available with most inexpensive hosting accounts.
---------------------------------------------
Can I choose which ads I want to display on my Video Clip Sites?:
Yes. The sites are setup to use Adsense by default. But, you can
modify the 4 files that contain the adsense code and put any html you
want in the files - different banner ads, text etc.
---------------------------------------------
How do I change the Adsense ads to other advertising?:
You can remove the Adsense ads and replace them with any ads you want
by editing the following files.
templates/default/banner_bottom.html
templates/default/banner_inner_list.html
templates/default/banner_sidebar.html
templates/default/banner_top.html
---------------------------------------------
How do I add Google Analytics to my video pages?
You can add Analytics code to templates/default/footer.html
Note: The new Analytics code has "{" and "}" characters in it that
the Smarty Template system does not like. The fix is to put the
analytics code between these two tags - {literal} Analytics code
{/literal}. I have provided an example below:
{literal}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."
: "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost +
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-YOUR-ANALYTICS-CODE");
pageTracker._trackPageview();
} catch(err) {}</script> {/literal}
---------------------------------------------
Can you recommend a web hosting company that works well with the
script?
Yes, a great inexpensive host is
HG.
---------------------------------------------
Can I customize the VideoClipMiniSites pages?:
Yes, if you know some html. Color changes can be made in the
templates/default/style.css file. The script uses the Smarty Templates
system. With a little knowledge of Smarty Templates, you can easily
totally redesign the templates.
---------------------------------------------
How do I change the page background color:
You can change the background color in the
templates/default/style.css file. You can change it by finding the
following at the top of the file
*********** body,
html {
margin:0;
padding:0;
background: #EEEEEE;
color:#000;
}
*********** Change the #EEEEEE to whatever color you want.
---------------------------------------------
You get the error "Warning: Call-time pass-by-reference has been
deprecated in /home/pathtoyourvideopages/lib/xml2array.php on line 5"
Some hosts don't like using the pass-by-reference variables used by
the xml2array.php file.
On the fifth line of the /lib/xml2array.php file, change
xml_parse_into_struct($p, $data, &$vals, &$index);
To:
xml_parse_into_struct($p, $data, $vals, $index);
Notice the "&" have been removed.
---------------------------------------------
1. Can I install multiple sites under 1 domain?
Yes, you can have multiple sites on one domain.
2. If YES then should I create a new folder for each minisite?
You will need to either create a new folder for each site, or a new
subdomain for each site.
3. If YES do I need to install and run the "setup.php" file in
each folder or can I do this once in the root folder?
You will need to run the setup for each folder/subdomain to set
everything up for that site.
---------------------------------------------
Specific Web Host Changes - Host4Profit
These are changes we have found that are required for Host4Profit.
1. Change the init.php and keywords.php permissions to 666.
2. Change the cache_xml and and templates_c folder permissions to 777.
3. If you receive the error "Warning: Call-time pass-by-reference has
been deprecated in /home/pathtoyourvideopages/lib/xml2array.php on line
5",
you will need to make a change to the xml2array.php file.
On the fifth line of the /lib/xml2array file, change
xml_parse_into_struct($p, $data, &$vals, &$index);
To:
xml_parse_into_struct($p, $data, $vals, $index);
Notice the "&" have been removed.
---------------------------------------------
Specific Web Host Changes - Web-Mania
These are changes we have found that are required for Web-Mania.
1. Change init.php and keywords.php permissions to 666.
2. Change cache_xml and tempaltes_c folders permissions to 777.
3. Change the .htaccess file to add the RewriteBase command following
the "RewriteEngine On" command.
Example: Options -MultiViews
RewriteEngine On
RewriteBase /pathtoyourscript
.
.
.
Rest of file...
---------------------------------------------
Specific Web Host Changes - 1and1
You will experience Error 404, Page Not Found, errors on any links
you click on. This problem is related to the mod_rewrite commands in the
htaccess file. 1and1 is handling something differently. At this time
there is no fix to run the script on 1and1. If you find a solution,
please let us know.
---------------------------------------------
Specific Web Host Changes -
UnselfishMarketers
These are changes we have found that are required for UnselfishMarketers.
1. Change init.php and keywords.php permissions to 666.
2. Change cache_xml and tempaltes_c folders permissions to 777.
---------------------------------------------
|