View Full Version : I really don't know what's wrong
I have recently downloaded a template from Mambo Portal called AgedSteel, I wanted to see how it was done so maybe I could do it to my own template. Everyone was in the right place, I uploaded the AgedSteel it was perfect. I tried uploading mine then an error came up. (Warning: Missing argument 4 for uploadfile() in /home/fortyk/public_html/mos/administrator/includes/installer_common.php on line 1130)
For the Index I copied the HTML from Imageready or Photoshop and then I pasted it on Dreamweaver.
Is there anything that I might have done wrong? For template css where I have font color and font size I copied it from another template because I do not know how to get that code. What might have gone wrong?
It's probably a missing file. Make sure that you have all your files in the xml file. Also, you must have a 'css/template_css.css' and 'template_thumbnail.png' files.
and change the name of the template in the xml file
Well this is what I have - test_template - CSS - template_css.css
Images
TemplateDetails.xml
Index.php
thumbnail.png
Should I change the test_template folder to XML? the only XML file I know I have is Templatedetails.xml.
You will need to have these files present:
templateDetails.xml
template_thumbnail.png
template_css.css
these are case sensitive and the first two files need to be in the same directory as your templates index.php file. You can't just make up your own. The template_css.css file needs to be placed in the css directory.
NOTE: I would use lowercase on all files that you create.
Yes the order of the documents seem fine. After I rar the file, I upload it and I get an error. I have the Templatedetails as a xml file. I have the template_css.css in the css folder.
Okay, could you paste your xml file here? I'd like to see how you have it set up.
I got it uploaded =D but another problem arises. Well what I did was instead of add it to my rar I downloaded ZIP and zipped it up..
Right now when I upload it all my pictures have a red X which means I probably didn't link it right would i have to fix the template details or the index?
Great! I'd look into the index.php for that error. Make sure your paths are all correct.
:)
Make sure to have your images set to one of these two ways.
src="<?php echo $mosConfig_live_site;?>/templates/your template name/images/your image name.gif" width="whatever your width is" height="whatever your height is">
or
background="<?php echo $mosConfig_live_site;?>/templates/your template name/images/your image name.gif"
Thats the way I have the images set on the templates I have done.
vBulletin® v3.8.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.