xoops forums

Forum Index


Board index » All Posts (tedsmith)




tedsmith

Home away from home
Posted on: 2008/10/19 21:57
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#21

include_path error /usr/share/php:/usr/share/pear'

Hi

Running Ubuntu Linux 8.04, Apache, MySQL5, PHP5 as a localhost web server (not using as a live 'real web' site). I installed the LAMP-Server architecture.

I have tested that PHP is working OK using a phpinfo.php file.

I have also got phpmyadmin working fine in /var/www/phpmyadmin

I am trying to migrate an established 2.0.X XOOPS web site to my localhost system. I have restored the MySQL database, copied all the XOOPS site files to /var/www/xoops, given write permissions to cache, templates_c and uploads, and edited mainfile.php to match the new physical and virtual paths but when I navigate to the site I get an error :

Fatal error : Failed opening '/var/www/xoops/index.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0

Can anyone help me out?

Thanks a lot

Ted


tedsmith

Home away from home
Posted on: 2008/6/24 15:06
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#22

Re: Why is the 'session.use_trans_sid' directive dangerous?

I need some more detail really. Any URLs to point to that anyone knows of?


tedsmith

Home away from home
Posted on: 2008/6/24 8:18
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#23

Why is the 'session.use_trans_sid' directive dangerous?

Can anyone tell me why 'session.use_trans_sid' is dangerous or give me a URL that explains it well?

Thanks

Ted


tedsmith

Home away from home
Posted on: 2008/5/15 15:06
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#24

Re: How to change the system date format and forum (CBB) date formats to UK style

Thankyou, thankyou, thankyou!!! Months I've put up with awkward looking dates (awkward for us English folk) and that was indeed the file that I needed to change. They now all show correctly - both system and CBB dates.

It's madness that such steps are necessary though. I also agree. XOOPS is great but I am amazed that the date formatting that appears in some modules has not been applied to the core system. I only do basic PHP programming but I can't imagine that with something as well structured as XOOPS that it would be too hard.

What's more is that even when you find a PHP file with date settings, why do so many appear to require changing? Maybe it's only the last one in Frameworks/Compat/... that needs to be changed but I'm not going to start tweaking them any further!

Lets hope the core dev's do ineed build this into XOOPS soon.

Thanks gents - I owe you a beer!!

Ted


tedsmith

Home away from home
Posted on: 2008/5/14 19:36
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#25

How to change the system date format and forum (CBB) date formats to UK style

Hi

I've got CBB 3.08 installed using XOOPS 2.0.18.1. I have a problem with the date formatting of both that moduel and the system date generally. I have re-read his thread and this thread, both of which relate to threads I started about this very issue and still, the issue now evades me once again!!

With previous version of CBB and XOOPS I have always edited a file to change the date format to the UK style of Day/Month/Year, e.g. 31/05/2008 based on the PHP settings.

However, last time I tried I just couldn't get it to work, despite doing everything that I'd done before which meant editing the following files :

root/language/english/global.php
root/modules/newbb/language/english/main.php
root/Frameworks/xoops22/language/english/local.php

I gave up months ago but I'm fed up of it not being right for my UK user base.

If anyone can shed some light on which files to adjust which differ to those already mentioned above for both my sites global date display settings and for CBB, I'd be very much obliged, because it's defeating me!!

I have also deleted the content of templates_c and cache folders and F5'd my browser.

Ted


tedsmith

Home away from home
Posted on: 2008/4/30 20:20
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#26

Re: please help me i'm at my wits end :(

xoops_session is an XOOPS database table used for holding the session data of your users.

What tables has it created? None? Some? Or all of them except xoops_session? Make a note and report that back.

If you've not done anything with your database yet try deleting it (if you have permission) and start again. If you can't delete it try deleting everything in it (all the tables) and start the installer again.

Ted


tedsmith

Home away from home
Posted on: 2008/1/23 19:40
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#27

Re: 2.0.18 Causing Problems with SmartFactory Modules?

I have smartsection installed and WF-Downloads - they are both fine. It's just SmartFAQ and SmartClient

My setup is :

Software server Microsoft-IIS/6.0
PHP version 5.2.5
MySql version 5.0.45-community-nt-log

Different MySQL to you. I wonder...


tedsmith

Home away from home
Posted on: 2008/1/23 17:17
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#28

Re: 2.0.18 Causing Problems with SmartFactory Modules?

Hervet

Do you, with your connections, know what might be causing this problem? I am clueless and am desperate to have the issue fixed. I can't even seem to edit the values directly using PHPMyAdmin. When I click save it says something like 'Not saved'. It's like there's a lock on editing the fields?

Also, could you delete the bug report at sourceforge linked to above seeing as you have clairified that this is not the fault.

Thanks a lot, and any help warmly recieved.

Ted


tedsmith

Home away from home
Posted on: 2008/1/21 11:33
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#29

Re: 2.0.18 Causing Problems with SmartFactory Modules?

I have reported this at the XOOPS Bug Tracker so that the devs are aware (http://sourceforge.net/tracker/index. ... id=1876392&group_id=41586).

Ted


tedsmith

Home away from home
Posted on: 2008/1/15 15:47
tedsmith
tedsmith (Show more)
Home away from home
Posts: 1151
Since: 2004/6/2 1
#30

2.0.18 Causing Problems with SmartFactory Modules?

Hi

I posted the following thread over at the SmartFactory.ca website yesterday :

Quote:


I might be imagining it, but there seems to be a real problem with the Smart Modules and XOOPS 2.0.18.

Ever since I upgraded to 2.0.18 I keep getting problems adding new data to the following modules :

SmartClient 1.0.2 Final
SmartFAQ 1.08 Final

I get the error "An error occured. The client was not updated." when adding new data to SmartFAQ but I can edit existing entries OK. I get the error for both editing current and new data with SmartClient.

I have 0.92 of the SmartObject Framework installed. I also have WF-Resource ver 1 installed to go with WF-Channel RC2. I'm not sure if they may be conflicting in some way?

Other users seem to be having similar problems in the following threads :

http://smartfactory.ca/modules/newbb/viewtopic.php?topic_id=1710
http://smartfactory.ca/modules/newbb/ ... hp?topic_id=2218&forum=10
http://smartfactory.ca/modules/newbb/ ... ost_id=8999#forumpost8999

but none of the answers seem to work for me, and by what I've read, not for the people reporting the problem.

WF-Downloads 3.2 seem to be OK - I can add and edit data to that still.

Please can we look into this? I am happy to help if I can. I have several live sites with both of these modules installed and it is a bad thing if I can no longer use them. The SmartFactory modules are superb and play a primary part of all my sites - I cannot live without them!



(http://smartfactory.ca/modules/newbb/ ... ost_id=9013#forumpost9013)

Can anyone tell me if the 2.0.18 strand is likely to be causing the problem and above, and if so, whether it's known about by the developers? I am told that a 2.0.18.1 patch is already being worked on? Is this likely to address this issue?

Thanks

Ted



TopTop
« 1 2 (3) 4 5 6 ... 103 »