11
Scionwest
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 19:11

  • Scionwest

  • Just popping in

  • Posts: 14

  • Since: 2007/1/6 1


Yes, I checked the tbgengine-suite.sourceforge.net/tbg/admin.php page right after getting the blank page and found that it seemed to be working, I also cleared the cache and the template_c directories off the server.

The problem might be in the permissions, I am assuming that I have set all the permissions correctly. What do they need to be set as, and what program can I use to varify the settings? I am using WINSCP3 to upload the files to the sourceforge server, but I've seen people talk about changing values from CHMOD 444 to CHMOD 777 or something like that. I looked but can't find how to do that in WINSCP3. I also have PUTTY but have never used it and I don't know what commands to use to change the CHMOD and the rw access.

Thanks for the help!
Scionwest

12
wodnick
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 19:31

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi Scionwest!

First, we have to detect what's wrong.

So, go to the phpMyAdmin and look for "xoops_config" table inside Your database.
Then, find record where "conf_name" field value is "debug_mode". Change "conf_value" to 1.

Report what error is displaying on Your site, after enabling PHP Debugging.
If there is no error, set this value to 3 (Smarty Debugging).

Value 0 is for error reporting disabled, 2 for SQL Debug.

regards,
wodnick
========
Pozycjonowanie

13
Scionwest
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 19:53

  • Scionwest

  • Just popping in

  • Posts: 14

  • Since: 2007/1/6 1


Ok thanks for the info, I got a ton of errors
Now I'm not to sure where to go from here. Well, I haven't known where to go from the beginning lol.

Quote:
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157530a403' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_login.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_login.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_login.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157532f640' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_mainmenu.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_mainmenu.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_mainmenu.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157533a4a5' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_block_bigstory.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_block_bigstory.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_block_bigstory.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a1575342e4d' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anewbb_block_new.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anewbb_block_new.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anewbb_block_new.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157534baf1' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_topusers.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_topusers.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_topusers.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157535478a' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anewbb_block_prv.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anewbb_block_prv.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anewbb_block_prv.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157535a550' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_online.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_online.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_online.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a1575368019' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_newusers.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_newusers.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Asystem_block_newusers.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157536fd0c' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_block_topics.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_block_topics.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_block_topics.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a157539eb16' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a15753a5872' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a15753a874e' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Axoopsheadline_block_rss.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Axoopsheadline_block_rss.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Axoopsheadline_block_rss.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a15753b71b8' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_index.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_index.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/db%3Anews_index.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a15753bdf1d' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/x2t^theme.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/x2t^theme.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1158
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/x2t^theme.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1158


What do I need to do next?

Thanks for the help!
Scionwest

14
wodnick
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 20:03

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi Scionwest!

Set templates_c folder permision to 777 (write to all).
http://winscp.net/eng/docs/task_properties
http://winscp.net/eng/docs/ui_properties
Tick all RWX 9 checkboxes.

Voila ;)

regards,
wodnick
========
Pozycjonowanie

15
Scionwest
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 21:36

  • Scionwest

  • Just popping in

  • Posts: 14

  • Since: 2007/1/6 1


Thanks for the reply, I just did what you said and set the templates_c directory to 777, but I am still recieving all of those errors. The templates_c directory is empty, and I turned off debug to check if the page will load and it is still a blank page. I noticed that if I placed the files back into the templates_c directory that I removed the errors are reduced to very few.

Quote:

Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a16f5868133' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a16f586ef29' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1164
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/file%3A^home^groups^t^tb^tbgengine-suite^htdocs^tbg^modules^xoopsheadline^blocks^headline_block.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1164
Warning [Xoops]: Smarty error: problem writing temporary file '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/45a16f5881b80' in file class/smarty/Smarty.class.php line 1042
Warning [PHP]: touch(): Unable to create file /home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/x2t^theme.html because Read-only file system in file class/smarty/Smarty.class.php line 1575
Warning [PHP]: fetch(/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/x2t^theme.html): failed to open stream: No such file or directory in file class/smarty/Smarty.class.php line 1158
Warning [PHP]: fetch(): Failed opening '/home/groups/t/tb/tbgengine-suite/htdocs/tbg/templates_c/x2t^theme.html' for inclusion (include_path='.:/usr/local/share/pear') in file class/smarty/Smarty.class.php line 1158


Any other thoughts?

Thanks,
Scionwest

16
Scionwest
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 21:50

  • Scionwest

  • Just popping in

  • Posts: 14

  • Since: 2007/1/6 1


I also just noticed that my XOOPS appears to be running V1.8, so maybe if I installed the 2.0.16 it would fix this problem? If you recommend that do I just copy all the files over the existing ones and modify mainfile.php again?

Thanks
Scionwest

17
wodnick
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/7 22:14

  • wodnick

  • Just popping in

  • Posts: 32

  • Since: 2006/12/30


Hi Scionwest.

Bad news...
https://sourceforge.net/docs/E07/en/#permissions
"All content on the project web servers that needs to be written by the project web servers must be world-writeable and be placed under the /tmp/persistent directory (create a subdirectory for use by your project files)."

"Place the data in the /tmp/persistent directory, accessible from and shared between the project shell and web servers. Projects should create their own subdirectory in /tmp/persistent and make frequent backups of the data. We strongly discourage the use of file-writing applications with our services, due to the security implications of our shared web environment. Users of applications in the project web services that require file-writing are strongly encouraged to look for alternatives that can use a MySQL database for data storage instead."

Make directory templates_c inside insecure directory mentioned above, then change settings in common.php file from:
define("XOOPS_COMPILE_PATH", XOOPS_ROOT_PATH."/templates_c");
to:
define("XOOPS_COMPILE_PATH", "/tmp/persistent/templates_c");

Do the same with /upload and /cache directory.
define("XOOPS_UPLOAD_PATH", XOOPS_ROOT_PATH."/uploads");
define("XOOPS_CACHE_PATH", XOOPS_ROOT_PATH."/cache");

For security reason, insert something between /tmp/persistent and directory like templates_c, b.e. /tmp/persistent/mysecretdirectory/templates_c/

regards,
wodnick

ps. I'm going to sleep now, but early morning this page must work!!! ;)
========
Pozycjonowanie

18
Scionwest
Re: Moving xoops from local machine to Sourceforge.net
  • 2007/1/10 3:20

  • Scionwest

  • Just popping in

  • Posts: 14

  • Since: 2007/1/6 1


I posted a reply on sunday night on this topic but somehow it's missing. I don't know what happened.

Anyway, I did as you suggested and it still didn't fix the problem. What I wound up doing was placing XOOPS on a different host server and then I will just have my index page re-direct the users from tbgengine-suite.sourceforge.net to the new host server. I get the feeling XOOPS just isn't compatible with sourceforge.

It works great on the new host so I just need to start configuring it now.

Thanks alot for the help! To bad we couldn't get it running on sourceforge. It's nice to know that XOOPS has a great community that is willing to help out.

Regards,
Scionwest

Login

Who's Online

114 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 114


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits