Post by t3ck » Thu Sep 13, 2007 9:49 pm

any one can help me about this...
after installing and changing-owner of store after saving bellow has appeared.

Error: Template /home/vol2/phpnet.us/e/ems/www/catalog/template//content/home.tpl not found!

Newbie

Posts

Joined
Thu Sep 13, 2007 9:45 pm

Post by flicman » Thu Sep 13, 2007 10:56 pm

t3ck wrote:Error: Template /home/vol2/phpnet.us/e/ems/www/catalog/template//content/home.tpl not found!
There are two slashes between template and content.  Wherever that's called needs to lose one of those slashes...

That's my guess.

Newbie

Posts

Joined
Tue Sep 11, 2007 8:29 am

Post by luvz2drv » Thu Sep 13, 2007 11:27 pm

well it is missing the template folder name

would have to see more code to see what or why

if you renamed the folder or copied it did you set it up in the admin panel?

luvz2drv


Post by t3ck » Fri Sep 14, 2007 2:25 pm

i just upload all the files and folder using filezilla and configured everthing then everytime i change the owner details and save it. its goes like that...
Error: Template /home/vol2/phpnet.us/e/ems/www/catalog/template//content/home.tpl not found

Newbie

Posts

Joined
Thu Sep 13, 2007 9:45 pm

Post by luvz2drv » Fri Sep 14, 2007 2:55 pm

what version of php do you have?

also what does the install show? have you run that?

as it is missing the template name folder of default

can I get a URL to your site?

luvz2drv


Post by t3ck » Fri Sep 14, 2007 3:45 pm

http://www.phpnet.us
http://ems.phpnet.us/
its a free webhosting...
ems is my subdomain

Newbie

Posts

Joined
Thu Sep 13, 2007 9:45 pm

Post by t3ck » Fri Sep 14, 2007 4:09 pm

.7 the latest version

Newbie

Posts

Joined
Thu Sep 13, 2007 9:45 pm

Post by Daniel » Fri Sep 14, 2007 4:18 pm

It doesn't look like the catalog dir was set up properly in the admin config and caused an error when yiou saved it.

Can you PM me a copy of your admin config file?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Daniel » Fri Sep 14, 2007 6:47 pm

I can not see whats causing this.

I noticed a spelling mistake but still should work.

Does anyone else have this problem when saving the settings?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by nobi » Sat Sep 15, 2007 1:32 am

I find it hard to believe that this shop runs with a free webhoster. Once I tried to set up
an xtcommerce shop, at a free webhoster, but just couldn't get it running. When I ordered
a product for testing the confirmation email just didn't get to me.

When you have set it up, please tell us, if the shop works as it should. Because then, I might use your webhoster myself...

Newbie

Posts

Joined
Sat Sep 15, 2007 12:55 am

Post by Daniel » Sat Sep 15, 2007 2:30 am

nobi wrote: I find it hard to believe that this shop runs with a free webhoster. Once I tried to set up
an xtcommerce shop, at a free webhoster, but just couldn't get it running. When I ordered
a product for testing the confirmation email just didn't get to me.

When you have set it up, please tell us, if the shop works as it should. Because then, I might use your webhoster myself...
It should work on a freehost provide it meets the  requirements listed during install.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by t3ck » Sat Sep 15, 2007 7:42 am

you know guys.. i am working now with the coppermine photo gallery, i used the free hosting and its working fine now.. http://emsph1.phpnet.us and i wonder why open cart not working.. maybe there is problem in configuration. but i am hoping it will work soon.. i will use again the opencart v.6 and i will let you know guys.. 

Newbie

Posts

Joined
Thu Sep 13, 2007 9:45 pm

Post by adjutant55 » Wed Nov 14, 2007 12:34 am

I'm totally unfamiliar with PHP, but I ran into the same issue.  I think when the user selects the drop-down for Template in the Admin Settings menu, is defaults to template "" [i.e. blank-name template].  Upon saving, the settings for both the admin and shop for my page caused the same error.  It's probable that the code has no default = 0 redundancy check, so when no template exists, it doesn't know not to use the nonexistant template, and errors out.  The solution until a code fix is done is the good 'ol settings override by file replacement.  I just deleted the "admin" folder and re-uploaded it.  But all the changes I'd made were easy to redo.  Nevertheless, any thoughts on how to fix it, should it happen again, like if selected by tab-index (where you tab to the next blank, type thing)?

Newbie

Posts

Joined
Wed Nov 14, 2007 12:07 am

Post by adjutant55 » Wed Nov 14, 2007 7:01 am

I FOUND A FIX!!!

At least one that worked for me.  As I said before, I'm not familiar with PHP, but looking at the config.php file in the "admin" folder on my website, I found the line giving me trouble.  Line 20 normally reads:

define('DIR_TEMPLATE', '/home/vol3/smchost.com/smc_1212368/crcsatx.smchost.com/htdocs/php/admin/template/');

So I looked at the error to find the file it wanted (some .tpl file), and noticed it was in a folder one branch down.  So I changed the code on line 20 to read:

define('DIR_TEMPLATE', '/home/vol3/smchost.com/smc_1212368/crcsatx.smchost.com/htdocs/php/admin/template/default/');

where "default" is the folder I found the .tpl file in.  It worked.  Problem solved.  My initial action of over-writing files was long and meant I had to go back and redo all my settings.  Which then caused the same problem again.  So I looked at the code and found a fix.  :)

Newbie

Posts

Joined
Wed Nov 14, 2007 12:07 am
Who is online

Users browsing this forum: No registered users and 2 guests