Problem with {URL:...}

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Problem with {URL:...}

Post by art777 »

topic - http://www.phpwcms.de/forum/viewtopic.php?p=12315#12311

site - http://info.cms.to.pl/index.php?id=5,3,0,0,1,0

I want display ext. site on site phpwcms.

First google:
- content part -> "custom path/file or URL" -> "file/URL: http://google.com"

Second google:
- "templates" -> footer: {URL:http://google.com}

Problem: logo.gif (google) no display... and URL is "http://info.cms.to.pl/images/logo.gif"

Why? :( (phpwcms_1.1-RC4_2004-06-08 (2004-06-13)

conf.inc.php

Code: Select all

<?php

// database values
$phpwcms["db_host"]           = "...";
$phpwcms["db_user"]           = "...";
$phpwcms["db_pass"]           = "...";
$phpwcms["db_table"]          = "...";
$phpwcms["db_prepend"]        = "...";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://info.cms.to.pl/";
$phpwcms["admin_email"]       = "info@cms.to.pl";

// paths
$phpwcms["root"]         		= "";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["file_tmp"]          = "phpwcms_tmp";     //default: "phpwcms_tmp"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["dir_thlist"]        = "thumb_list";   //default: "thumb_list"
$phpwcms["dir_preview"]       = "thumb_preview";  //default: "thumb_preview"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 3;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 0;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "en";  //default language
$phpwcms["charset"]           = "iso-8859-2";  //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"]  = 1;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = '...'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = '...'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = '...'; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = '...'; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = '/home/dealer/main/pkg/cms/info/html';


?>
Pappnase

Post by Pappnase »

hello!

i've try to call you graphic!

http://info.cms.to.pl/images/logo.gif

and get a 404 error!
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Post by art777 »

Pappnase

Post by Pappnase »

Hello

I talk fast with oliver. and he told this happens if you have no absolute image path! and thats the case with google!

i test it with apple .com and it works fine.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

it doesn't work with another phpwcms site either ;)
art777
Posts: 34
Joined: Wed 12. Nov 2003, 03:07

Post by art777 »

OK... otherwise ;)


My site: http://info.cms.to.pl/index.php

I want page "Oferta" (content -> http://info.cms.to.pl/index.php?oferta ) to display in "templates" -> "right". I can't this...
{URL:http://info.cms.to.pl/index.php?oferta} don't work...
WHY??? :cry:


http://info.cms.to.pl/login.php
user: test
pass: test123

my conf.inc.php is: http://www.phpwcms.de/forum/viewtopic.php?p=15000

Help me?

BIG THX
Pappnase

Post by Pappnase »

hello art

here is a workaround i have written!
it's quite simple!*smile*

http://www.phpwcms.de/forum/viewtopic.php?t=1049
Post Reply