Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Wed Feb 22, 2012 1:53 pm   Subject: need help
ive tried a new database now and imported sql file still no good

jacz ive sent you a pm
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Wed Feb 22, 2012 1:07 pm   Subject: need help
It does show the table in phpmy admin there are 12 tables altogether

ma_album
ma_country
ma_friend
ma_image
ma_manager_performance
ma_original_player
ma_original_team
ma_position
ma_settin ...
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Wed Feb 22, 2012 11:48 am   Subject: need help
I seem to have got the database to connect now but ran into more problems.

query fails

http://the-dugout.ux1.eu/
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 8:48 pm   Subject: need help
This is my actual db config edited some parts

<?php
//database server
$config['server'] = "localhost";
//database login name
$config['user'] = "MY USER NAME";
//database ...
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 8:23 pm   Subject: need help
Do i need to edit this part of the startup.php

//initialize mysql class
$db = new Database($config['server'], $config['user'], $config['pass'], $config['database'], "");
$db->connect ...
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 8:07 pm   Subject: need help
I seem to be getting a little further now i seem to be getting datbase problems

the link to my site

http://the-dugout.ux1.eu/
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 7:58 pm   Subject: need help
So that would be

require('/admin/slibs/Smarty.class.php');
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 7:48 pm   Subject: need help
this is how it looks now

<?php
session_start();
/**
* @copyright 2008 Slash Web Design
*/
require_once("config/config.php");
require_once("classes/class.database.php" ...
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 6:09 pm   Subject: need help
That worked but now i get this error so im getting there slowly

Fatal error: Class 'Smarty' not found in /home/u193378798/public_html/config/startup.php on line 11
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 5:55 pm   Subject: need help
Still struggling big time this is my startup php im not sure what part i have to change

require('slibs/Smarty.class.php');

//initialize smarty templating engine
$smarty = new Smarty;
$smarty-& ...
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 5:44 pm   Subject: need help
Thx for the help this is all new to me but im slowley getting there ill keep you posted on my progress.
thx again
mark Very Happy
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 5:36 pm   Subject: need help
thx for quick reply im still haveing trouble this is the warning i get now
Warning: require(slibs/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/u1933 ...
  Topic: need help
minky67

Replies: 20
Views: 65319

PostForum: Help Wanted (commercial)   Posted: Tue Feb 21, 2012 4:34 pm   Subject: need help
i get error log all i get is a blank page when i try to go to my site can anybody help please here is the log

[21-Feb-2012 15:38:16 UTC] PHP Warning: require(slibs/Smarty.class.php) [<a href='f ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP