Fatal error: Call to undefined function: adonewconnection() in /home/webonlin/public_html/templateseller/include/common.php on line 140
Este é o código PHP de configuração do sistema:
<?php
$config = array(); global $config;
/* GENERAL DECLARATIONS */
$config['baseurl'] = 'http://wwww.webonlinegest.com/templateseller'; // The actual location of openlistings on the machine -- leave off the trailing slash $config['basepath'] = '/home/http://webonlinegest.com/templateseller'; $config['admin_name'] = 'lipe'; // Your name -- all email will come from this name $config['admin_email'] = 'webonlinhegest@sapo.pt'; // all email which is sent from the site will come from this address $config['site_title'] = 'Webonlinegest'; // Site title
/* LANGUAGE SETTINGS You can use anthing you want in the value. But you should have one name.php file in the language directory. Means If you chose 'en' then in the language folder you should have en.php file. There is a dummy file lang.php which you can edit and change to your name. */ $config['language']='en';
/* LOCATION OF SEVERAL FOLDERS */ $config['template_path'] = $config['basepath'].'/template'; // leave off the trailing slashes $config['template_url'] = $config['baseurl'].'/template'; // leave off the trailing slashes $config['template_upload_path']=$config['basepath'].'/thetemplates'; $config['template_upload_url']=$config['baseurl'].'/thetemplates'; $config['secure_upload_path']=$config['basepath'].'/secure'; //the templates will be stored here $config['customer_download_path']=$config['basepath'].'/cstomer'; //the templates will be stored here $config['customer_download_url']=$config['baseurl'].'/cstomer'; //the templates will be stored here
/* LISTING SETTINGS */ $config['listings_per_page'] = 6; //number of listings to show on one page: $config['add_linefeeds'] = 'yes'; // convert returns to line feeds? yes or no $config['money_sign'] = '$'; // default is dollars, but it could be "£" for pounds or "€" for euros $config['show_no_photo'] = 'yes'; // if a listing doesn't have a photo, should it use the /images/nophoto.gif instead?
/* UPLOAD SETTINGS */ $config['max_upload_size'] = '100000'; // (in bytes) $config['max_upload_width'] = '450'; // max width (in pixels) $config['max_upload_height']='600'; // max width (in pixels)
$config['allowed_upload_extensions'] = array('jpg','gif','png','fla','zip','rar','swf'); //possible allowed file extensions $config['make_thumbnail'] = 'no'; // use an external thumbnailing tool to resize images $config['thumbnail_width'] = '170'; // max width (in pixels) of thumbnails
/* This line is for GD Lib Image Support */ $config['path_to_thumbnailer'] = $config['basepath'].'/include/thumbanil_gd.php'; // path to the thumnailing tool $config['path_to_resizer'] = $config['basepath'].'/include/resizer_gd.php'; // path to the thumnailing tool $config['strip_html'] = 'yes'; // Should HTML be stripped out of listings? yes or no $config['allowed_html_tags'] ='<a><b><i><u><br>'; // which html tags can a person inp
/* These two lines are for ImageMagick Support */
//$config['path_to_thumbnailer'] = $config['basepath'].'/include/thumbnail_imagemagick.php'; // path to the thumnailing tool //$config['path_to_imagemagick'] = '/usr/X11R6/bin/convert'; // path to the convert tool, OPTIONAL! (Fill this only if you use ImageMagick)
/* AFFILIATE SECTION */ $new_affiliate_signup_mail_subject = "Welcome to wp3d.net affilates section"; $new_affiliate_signup_mail_header = "Welcome to the wp3d.net affilates system"; $new_affiliate_signup_mail_footer = "Thanks for using wp3d.net's affiliate program.";
$suspended_mail_subject="Your account suspended"; $suspended_mail_body_header="This is an urgent message from wp3d.net"; $suspended_mail_body_footer="This mail was automatically sent from wp3.net";
$deleted_mail_subject="Your account has been deleted"; $deleted_mail_body_header="This is an urgent message from wp3d.net"; $deleted_mail_body_footer="This mail was automatically sent from wp3d.net";
$reactivated_mail_subject="Your account has been re-activated"; $reactivated_mail_body_header="This is an urgent message from wp3d.net"; $reactivated_mail_body_footer="This mail was automatically sent from wp3d.net"; $config['affiliate_comission']='10'; //affiliate comission percentage $config['designer_comission']='5'; //designer comission percentage
/* PAYPAL SETTINGS CURRENCY: 1='USD',2='GBP',3='EUR',4='CAD',5='JPY' */ $config['paypal_receiver_email']='pete@wp3d.net'; //paypal e-mail address $config['paypal_error_email']='pete@wp3d.net'; //Any fraud attemp will be sent to this. $config['paypal_currency']='GBP'; $config['paypal_fee']='0'; $config['check_fee']='1.5'; $config['bank_fee']='5'; $config['min_withdraw_amount']='10'; //This is the minimum withdraw amount what a //user can request.
/* 2CHECKOUT SETTINGS */ $config['check_id'] = '11'; //ENTER YOUR 2CHECKOUT ID
Depois de substituído pouco resolve ficando os seguintes erros:
Warning: main(/home/webonlin/public_html/include/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory in /home/webonlin/public_html/templateseller/include/common.php on line 139
Warning: main(/home/webonlin/public_html/include/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory in /home/webonlin/public_html/templateseller/include/common.php on line 139
Fatal error: main() [function.require]: Failed opening required '/home/webonlin/public_html/include/adodb/adodb.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webonlin/public_html/templateseller/include/common.php on line 139
Para uma maior ajuda fica o endereço desse fórum que encontrei sobre a matéria talvez assim ajude mais.
Pergunta
Lipe1983
Prezados membros do forum ao tentar instalar o sistema “Template Seller Pro” o sistema devolve os seguintes erros:
Warning: main(/home/http://webonlinegest.com/templatesellerhttp://www.webonlinegest.com/templateseller/include/adodb/adodb.inc.php'>http://webonlinegest.com/templatesellerhttp://www.webonlinegest.com/templateseller/include/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory in /home/webonlin/public_html/templateseller/include/common.php on line 139
Warning: main(/home/http://webonlinegest.com/templatesellerhttp://www.webonlinegest.com/templateseller/include/adodb/adodb.inc.php'>http://webonlinegest.com/templatesellerhttp://www.webonlinegest.com/templateseller/include/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory in /home/webonlin/public_html/templateseller/include/common.php on line 139
Warning: main() [function.include]: Failed opening '/home/http://webonlinegest.com/templatesellerhttp://www.webonlinegest.com/templateseller/include/adodb/adodb.inc.php'>http://webonlinegest.com/templatesellerhttp://www.webonlinegest.com/templateseller/include/adodb/adodb.inc.php' for inclusion (include_path=.:/usr/lib/php:/usr/local/lib/php') in /home/webonlin/public_html/templateseller/include/common.php on line 139
Fatal error: Call to undefined function: adonewconnection() in /home/webonlin/public_html/templateseller/include/common.php on line 140
Este é o código PHP de configuração do sistema:
Após muito pesquisar encontrei um fórum que tenta explicar como passar estes erros onde me diz para encontrar a linha:
include($config['basepath].'//include/adodb/adodb.inc.php');
e substituir por:
require("$_SERVER[DOCUMENT_ROOT]/include/adodb/adodb.inc.php");
Depois de substituído pouco resolve ficando os seguintes erros:
Warning: main(/home/webonlin/public_html/include/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory in /home/webonlin/public_html/templateseller/include/common.php on line 139
Warning: main(/home/webonlin/public_html/include/adodb/adodb.inc.php) [function.main]: failed to open stream: No such file or directory in /home/webonlin/public_html/templateseller/include/common.php on line 139
Fatal error: main() [function.require]: Failed opening required '/home/webonlin/public_html/include/adodb/adodb.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/webonlin/public_html/templateseller/include/common.php on line 139
Para uma maior ajuda fica o endereço desse fórum que encontrei sobre a matéria talvez assim ajude mais.
Link para esse Fórum
Agradeço as possíveis ajudas um bem haja a todos/as. :rolleyes:
Editado por ESerraLink para o comentário
Compartilhar em outros sites
3 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.