close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

ps4 news called to another page

Thread began 3/23/2012 5:40 am by i.edwards384429 | Last modified 3/26/2012 1:34 pm by Jason Byrnes | 900 views | 3 replies |

i.edwards384429

ps4 news called to another page

Hi Jason

I created a simple file in my shop sub directory

at test_file.php

which works - clever huh?

I then created a file

test_framework.php

which uses the framework builder to call test_file.php

and that works !!!!

I then created another page called

test_framework2.php

which calls

webassist/plugins/cms_templates/news.php

This just shows a white screen

Normaly this would tell me that I need a correct database connection.

Do I need to add connection information to the head of test_framework2.php and if so how ?

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

a blank screen tells me that there is a php error occurring, but error reporting is turned off.

it could be a connection issue, or it could be any number of other possible issues.

add the following code at line 1 of the page:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




once we know the error, we can start looking at the cause.

Sign in to reply to this post

i.edwards384429

update

Hi Jason

on the remote web server I get the following

Fatal error: Call to undefined function wa_getcmscontent() in /home/linweb06/p/pcjsealers.co.uk/user/htdocs/pcj_store/webassist/plugins/cms_templates/news.php on line 72

on my local host I get

! ) Fatal error: Call to undefined function WA_getCMSContent() in C:\wamp\www\pcjsealers\pcj_store\webassist\plugins\cms_templates\news.php on line 72
Call Stack
# Time Memory Function Location
1 0.0008 684112 {main}( ) ..\test_framework2.php:0
2 0.0065 1041712 require( 'C:\wamp\www\pcjsealers\pcj_store\webassist\plugins\cms_templates\news.php' ) ..\test_framework2.php:18


it's as clear as mud to me

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

add the following code at line 1:

php:
<?php

require_once("webassist/cms/cms.php");
require_once(
"admin/common/properties.php");
?>
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...