PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Apr 12, 2009 6:44 am Reply with quote Back to top

Any theme, any domain, the problem is the same. Legal docs do not display, just a blank space. If I Add Document, FCKEditor works as intended and the doc saves successfully but does not display. I can see all of the text in the table with PHPMyadmin ok.

Cheers
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Sun Apr 12, 2009 8:45 am Reply with quote Back to top

Any errors displayed on screen, or in the DB log?
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Apr 12, 2009 9:15 am Reply with quote Back to top

I just turned the error log on, will report back.

Reporting back: No errors in log.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Apr 12, 2009 9:26 am Reply with quote Back to top

No errors shown with level set to "1". Changed to error level "2" and the following line:

Quote:
April 12, 2009, 10:21 am SQL was: SELECT * FROM nuke_legal_cfg
querycount = 22

April 12, 2009, 10:21 am SQL was: SELECT a.`did`, `doc_name`, `doc_text` FROM `nuke_legal_docs` a, `nuke_legal_text_map` b, `nuke_legal_text` c WHERE a.`did` = b.`did` AND b.`tid` = c.`tid` AND b.`mid` = 2 AND `doc_status` = '1' AND `language` = 'english'
querycount = 23
View user's profile Send private message
rystan
New Member
New Member


Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Sun Apr 12, 2009 3:54 pm Reply with quote Back to top

is there possibly some uh (forgot the jargon) characters in there that would possibly break the php code? Did you use a word doc or other format to copy/paste or did you just type it in and do the modifications to its style afterwards? Have you tried doing it in a unix-compat txt doc with no punctuation and copy/paste it to see if maybe there was something in your punctuation causing issues?

Just some thoughts, I'm just relearning everything i brain dumped last year.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Apr 12, 2009 5:02 pm Reply with quote Back to top

The docs that installed with the distro bits don't display and neither do any I create.

Cheers
View user's profile Send private message
rystan
New Member
New Member


Joined: Nov 27, 2005
Posts: 21
Location: Redding

PostPosted: Sun Apr 12, 2009 5:42 pm Reply with quote Back to top

Refering to the HowToInstall Doc?

Aside from the legal documentation you've added (or have tried adding) the website functions normally?

Self hosted or paid hosting? Php Version? Apache modules used? Apache Ver?
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Sun Apr 12, 2009 6:00 pm Reply with quote Back to top

Yes
Yes, all domains (6) running RN 2.3.01 experience the same thing
Last line really not relevant.

Cheers
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Mon Apr 13, 2009 2:53 am Reply with quote Back to top

So when you go into Legal Docs are the titles displaying?

Also if you try to edit one of the docs does that display correctly?
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Apr 13, 2009 6:12 am Reply with quote Back to top

Sorry to be so late to this "party". Sad Since different people have different ideas on where to place the legal menu, I made it so the menu ends up in the constant LGL_MENU_HTML. You must place this where you want to see it within your respective theme. You should be able to see the menu in RavenIce. Also look at the RavenIce themefooter() function to see how to do it.

Sorry that this hasn't been documented.
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 6:15 am Reply with quote Back to top

jakec wrote:
So when you go into Legal Docs are the titles displaying?

Also if you try to edit one of the docs does that display correctly?


Yes and No .. and when I Add Document, it also doesn't display. I took .htaccess out of the picture so that's not it. Doesn't display in Firefox or IE 6, so that's not it either. AdBlock Plus is disabled and so on. The DB Tables are showing the text as well.

Cheers
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Apr 13, 2009 6:20 am Reply with quote Back to top

dad7732, can you PM me a admin login with Legal Module access so that I can check. I need to see what exactly you mean by "doesn't display". Thanks.
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 6:25 am Reply with quote Back to top

Montego: I grepped for LGL_MENU_HTML and it is nowhere to be found. Now what? There is no HTML file generated anywhere when I add a document. At a complete loss here ... Sad

Cheers
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 6:36 am Reply with quote Back to top

I can't add anyone in as admin as someone else here reported the same error. When I fill out the information and "Add Author" I get a blank page and the new author isn't actually added in.
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Apr 13, 2009 6:43 am Reply with quote Back to top

That constant is in themes/RavenIce/theme.php as well as fisubice in the 2.3.x release of RN. If you are not seeing it, perhaps you have broader issues than this? Sure sounds like it.

I cannot replicate this. By looking at your site, its obvious to me that there is a PHP error somewhere. Did you try setting $display_errors to true in config.php? Something is definitely stopping the generation of code.
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 6:48 am Reply with quote Back to top

I'll have to enable that in config. But I did set error level to "1" in rnconfig and the DB log showed nothing as I clicked the document links. I'll try the $display and see what happens.

Be back shortly.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 6:50 am Reply with quote Back to top

Ok, found it in the theme.php, dunno why grep didn't.

Code:
echo '
  <div style="clear: both"></div>
  <div id="footer">
    ' . LGL_MENU_HTML . '
    <p>Theme by: <a href="http://nukecoder.com">nukecoder.com</a></p>
  ';
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 6:53 am Reply with quote Back to top

Ok, here ya go .. the error:

Code:
Fatal error: Call to undefined function: ctype_digit() in /<path>/classes/class.legal_document.php on line 104
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9133
Location: Arizona

PostPosted: Mon Apr 13, 2009 7:01 am Reply with quote Back to top

I would give this error to your host. There is no good reason not to have PHP compiled with the ctype extensions. These are far more secure and faster for these types of checks over regex.

This is possibly why rystan asked you for your environment above. Wink
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 7:15 am Reply with quote Back to top

I'll pass this on to Verio but I don't see much luck in an answer ..

Thanks
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 7:31 am Reply with quote Back to top

After reading up on ctype extension, PHP has to be re-compiled with:

--enable-ctype

We'll see what happens with Verio, otherwise I'll just do without a legal document(s).

Cheers, will report back.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 10:18 am Reply with quote Back to top

Well, my guru Son fixed things ... ahh dear old Dad calls on Son "again" ... At any rate, all he had to do was to uncomment:

extension=ctype.so

Located in the PHP4/extensions.ini file and then restart the server.

It all works now .. Smile

Cheers

Note: I guess I'm the only one that doesn't know this (I do now) that to find out what's enabled in PHP:

server# php -m

Will give you a list. I feel confident that at least ONE person may benefit ... Cool
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 11:42 am Reply with quote Back to top

Ok, now that this is fixed, we have an issue that popped up. In the various legal docs, several instances call for contacting the webmaster. When clicking those links, the page comes back to the original page and no form, etc. IOW, it doesn't work to contact the webmaster. In "General Options" all of the information is correctly entered and saved.

The link shortcut is:
Code:
http://www.MYSITE.org/modules.php?name=Legal&op=contact


Cheers
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Mon Apr 13, 2009 11:49 am Reply with quote Back to top

I think the shortcut should be:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Mon Apr 13, 2009 1:37 pm Reply with quote Back to top

May be but that's not what shows up as the shortcut. I can change it in the docs, easy 'nuff.

Cheers
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum