This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

OK GOOD now what


avatar
suzieq49 8
From: -
OK GOOD now what

I uploaded every thing to my server and have admin working how do I publish it?
How do I direct it to the proper page

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: OK GOOD now what
avatar
135
From: -
That did the trick. Thanks for the fix.

Thanks Philipp,

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
I'm not sorting the submitted news stories by channel IDs. I'm looking to sort the channels by priority to arrange them into a horizontal navigation menu. They'll vertical and in the order I created them at the moment.

Example:
· Audio
· CPUs
· Cases
· Cooling
· I/O Devices
· Memory
· Misc.
· Motherboards
· Networking
· Power
· Printers
· Storage
· Video
· Overclocking
· News

I see, there is a small bug. The sort order is missing in the news channels block. Open blocks/news_channels.php in an editor and replace:

      $results = $database -> dbquery( "SELECT newschannel_name, newschannel_seo FROM " . DB_PREFIX . "esselbach_ct_newschannels WHERE newschannel_parentid = '1' AND (newschannel_website = '0' OR newschannel_website = '" . $preferences[ 'current_website' ] . "')" );


with:

   $results = $database -> dbquery( "SELECT newschannel_name, newschannel_seo FROM " . DB_PREFIX . "esselbach_ct_newschannels WHERE newschannel_parentid = '1' AND (newschannel_website = '0' OR newschannel_website = '" . $preferences[ 'current_website' ] . "') ORDER BY newschannel_position, newschannel_id" );
1 Re: OK GOOD now what
avatar
135
From: -
Thank you Philipp.:D

1. That worked and I removed it from the news queue.php file also.

2. I'm not sorting the submitted news stories by channel IDs. I'm looking to sort the channels by priority to arrange them into a horizontal navigation menu. They'll vertical and in the order I created them at the moment.

Example:
· Audio
· CPUs
· Cases
· Cooling
· I/O Devices
· Memory
· Misc.
· Motherboards
· Networking
· Power
· Printers
· Storage
· Video
· Overclocking
· News

Need to move the "News" and "Overclocking" channels up, but the only way I know to do that would be to rename all the channels after "Networking". I have them sorted by priority in the admin, but can't get them to sort on the index page by priority.

3. I think that did it.

If I have any other questions, I'll start a new thread. This one is getting a bit long and a new thread would make it easier for others when looking for ideas and answers.

Thanks again,

ReviewStud Smiling Face with Sunglasses
1 Re: OK GOOD now what
avatar
Editor
0
From: -
1. Since I don't need text, code, or a link in the "story" field for each "news story", how can you disable the "story" field to give you the option of leaving the "story" field blank or not? I'm having to put an "_" in the "story" field to update the news story.

Only with a small code modification in /cadmin/news/admindoaddnewsstory.php.

Remove the following to disable the check:

           if( !$input_newsstory_story )

{
$notice = $words_news[ 'NEWS_NO_STORY' ];
}


2. How do you sort the channels listed in "News Channel" on the index page? Mine are sorting by each channel's "ID" number and not by their "Priority Number" on the index page. I'd like to sort them by priority number.

News are usual listed by date but not by priorities. Only the content module has the ability to sort items but it is not designed to handle thousands of news stories.

3. Is there a way to set news stories to a default 8 day expiration instead of having to manually editing them after you've submitted them? Trying to limited the number of steps I have to do for each news story imported from an RSS feed. For instances, the submission day would be today and automatically the story expiration day would be 8 days from today as an example instead of having to go back into the submitting story and changing the "expiration date" to 8 days from today.

You can set the number of days that should show up on the front page under News Preferences => How many days
1 Re: OK GOOD now what
avatar
135
From: -
WOO HOO!! Disabling the "GZIP" did the trick. No error or blank index page. I see the test news articles I imported from the RSS feeds I setup.

PHILIPP, YOU THE MAN!!

Just a few easy questions left to ask:

1. Since I don't need text, code, or a link in the "story" field for each "news story", how can you disable the "story" field to give you the option of leaving the "story" field blank or not? I'm having to put an "_" in the "story" field to update the news story.

2. How do you sort the channels listed in "News Channel" on the index page? Mine are sorting by each channel's "ID" number and not by their "Priority Number" on the index page. I'd like to sort them by priority number.

3. Is there a way to set news stories to a default 8 day expiration instead of having to manually editing them after you've submitted them? Trying to limited the number of steps I have to do for each news story imported from an RSS feed. For instances, the submission day would be today and automatically the story expiration day would be 8 days from today as an example instead of having to go back into the submitting story and changing the "expiration date" to 8 days from today.

Thanks for the extra help on all of this.

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
Could this be a problem with GoDaddy's free hosting service? The only reason I went with them is because they're who I purchased the domain from.

Maybe. Perhaps the ads cause a problem with the template engine?

Try the following two things:

1) Disabled GZIP output (in cadmin)
Main => Manage Websites => Edit => GZIP HTML Output => No

Any change?

2) If this will not work try the following modification in class_templates.php

Find:
               @eval( $this_template );


and replace it with:
               eval( $this_template );


Any error messages now?
1 Re: OK GOOD now what
avatar
135
From: -
I've renamed the file to ".htaccess", but I am still getting a blank index.php page.

The good news is that I am running PHP 5.2.5 and MySQL 5.0.67-log on my site.

I am still bewildered by this blank index.php problem.

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
You must rename htaccess.txt to .htaccess to enable it
1 Re: OK GOOD now what
avatar
135
From: -
I created the phpinfo.php5 file. It's telling me that GoDaddy is running php 5.2.5.

So I've edited my htaccess.txt file to look like the following:
<Files contentteller>

ForceType application/x-httpd-php
</Files>

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

# switch GoDaddy's php extension handling for php5
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^contentteller|contentteller/|contentteller/(.+)$ contentteller.php [L,QSA]

# Uncomment the following RewriteCond/RewriteRule lines if you are using the mod_rewrite SEO option
# You may need to adjust the third RewriteCond line to exclude additional directories
# Note: Using the mod_rewrite option is only recommended for experienced users
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !^(cadmin|jscripts|images|sitemap)/
#RewriteRule ^(.+)$ contentteller.php [L,QSA]


</IfModule>



Now that I've added the php5 code to the htaccess file, my index.php still looks blank.

Could this be a problem with GoDaddy's free hosting service? The only reason I went with them is because they're who I purchased the domain from.

Let me know if giving you admin rights to the CT portion of the site would help.

Thank you very much Philipp,

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
First, try to see whether PHP 5 is installed. It seems that GoDaddy is using .php5 as default extension for PHP 5.

Create a file phpinfo.php5 with:
<?phpinfo(); ?>


and try to run it from your browser.

If that worked create a file .htaccess with the following in it:

Options +FollowSymLinks  

RewriteEngine On
RewriteBase /

# switch GoDaddy's php extension handling for php5
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

This will set .php as default extension for PHP 5
1 Re: OK GOOD now what
avatar
135
From: -
As far as I know there is not an error log.

My GoDaddy account is telling me that it is using php 4.x.

On what line do I need to add the php5 activating code? Just anywhere in the htaccess.txt file or between the <IFmodule mod-rewrite> lines?

Thanks php is a step or two above my pay grade.

Thanks Philipp,

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
It is hard to figure this out without any error message. I assume there is no error log?

Is PHP 5 supported on their free accounts? In this case you can activate it with the following .htaccess:  Activating PHP5 in Godaddy Hosting
1 Re: OK GOOD now what
avatar
135
From: -
I've modified the contentteller.php file which lives here.

If I open it up in a browser, it looks just like the index.php file.

Uhmm...
1 Re: OK GOOD now what
avatar
Editor
0
From: -
I see nothing special but try the following. Open contentteller.php in a PHP editor and change:

error_reporting( 0 );


to:

error_reporting( E_ALL );


This may output an error message rather then a blank page.
1 Re: OK GOOD now what
avatar
135
From: -
I've created a PHP file in Dreamweaver, added your code, and uploaded to my GoDaddy server.

The file lives here.

I know GoDaddy allows for their customers to use CT on their servers. I've talked to their tech support staff about it.

Thanks Philipp
1 Re: OK GOOD now what
avatar
Editor
0
From: -
Perhaps GoDaddy disabled a few functions on their free account that are needed to run Contentteller? Can you upload a PHP file with the following content and send me the link:

<?phpinfo(); ?>
1 Re: OK GOOD now what
avatar
135
From: -
Ok. I've reinstalled CT by FTP and I'm still getting the blank "index.php" page. I should have my approved RSS news stories on the index.php page, but I still don't see any stories.

Here is the link to the index.php.

Any ideas what could be wrong?
1 Re: OK GOOD now what
avatar
135
From: -
My GoDaddy SQL account is asking me for the "number of fields" in my SQL Prefix table. How many fields does CT need?

I'm installing CT on the server.

Thanks,

ReviewStud
1 Re: OK GOOD now what
avatar
135
From: -
Just installed it by FTP last week. I've had this problem since the install. I actually haven't seen a page build with CT on my site.

I'll delete the folder and re-install by FTP. I'll let you know if I get the same result.

Thanks for the help,

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
The "index.php" only shows me this "‹". The rest of the page is white.

Did you had this issue right from the beginning? No, something is wrong with your installation.
1 Re: OK GOOD now what
avatar
135
From: -
I can't see the frontpage. Sorry if this is a dumb question, but what is the frontpage URL? The "index.php" only shows me this "‹". The rest of the page is white.

Yes, I'll use the news section as the main page, but I've already changed it in the "Main Preferences".

Thanks Phillip,

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
The only thing "Overview" displays for me is "Welcome User" and the "Blackboard". Besides that, "Overview" doesn't show me anything when I click it.

Not in the admin section but in the navigation on the frontpage

I've got RSS feeds pulling content for a News feed with channels, but as for getting this to show up on the page I've selected as the front page, I am lost. The news module is set to "active" and have "News" assigned to the "Left Block".

Are you planning to use the news section as front page? In this case you need to set the news module as default front page module. You can do this under "Main Preferences".
1 Re: OK GOOD now what
avatar
135
From: -
The only thing "Overview" displays for me is "Welcome User" and the "Blackboard". Besides that, "Overview" doesn't show me anything when I click it.

As for the "manage block in admin section" I've done that, but still don't see this page or any changes I've done on it.

I've got RSS feeds pulling content for a News feed with channels, but as for getting this to show up on the page I've selected as the front page, I am lost. The news module is set to "active" and have "News" assigned to the "Left Block".

I've run a computer part review site for the past year that I built and update with Dreamweaver. I use RSS feeds to harvest the reviews to post. I got to say that I am lost on creating the frontpage. I know what I want to do, but I am banging my head getting there.

Thanks,

ReviewStud
1 Re: OK GOOD now what
avatar
Editor
0
From: -
You see an overview of all pages, if you click the "Overview" link in the navigation bar. There is also a pages block that will show a list of the main pages. You can enable this block under Blocks => Manage Blocks in the admin section.

However, it mainly depends on your need. There are also a few other modules available for content. For example, news for news/blogs websites or articles for articles sites. You can set the default module under Main Preferences.
1 Re: OK GOOD now what
avatar
135
From: -
Yeah, I'm hitting the same road block. I've created a "main page" content page that I have set as my front page, but I don't know where the page lives.

So I can't build the main page if I can't see what I've started. Where does this page live?

Thanks,

ReviewStud
1 Re: OK GOOD now what
avatar
OP 8
From: -
direction

I had a page stating coming soon Do I delete that how does this new site come up?
1 Re: OK GOOD now what
avatar
Editor
0
From: -
What do you want to do? I need a little more details

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.