Fruml CMS Community: First error... - Fruml CMS Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

First error...

#1 User is offline   stud_muffler Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 20-January 10
  • LocationUSA

Posted 20 January 2010 - 07:24 PM

Hi

Trying to run your new creation...  ;)

I'm getting following error in Apache (running on WinXP) error log:

Quote

[Wed Jan 20 13:11:48 2010] [error] [client 127.0.0.1] PHP Fatal error:  Class 'PDO' not found in C:\\www\\fruml\\fruml\\class\\class.db.php on line 37


Sounds like I'm missing something in my PHP configuration.
Can you post some requirements for PHP version, PHP extentions and Apache modules.

8)
0

#2 User is offline   stud_muffler Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 20-January 10
  • LocationUSA

Posted 20 January 2010 - 08:21 PM

Solved one above, next in line:

Quote

[Wed Jan 20 14:18:28 2010] [error] [client 127.0.0.1] PHP Fatal error:  Call to undefined function gettext() in C:\\www\\fruml\\fruml\\vendor\\dwoo\\plugins\\personal\\functions\\trans.php on line 21


8)
0

#3 User is online   Alex Icon

  • Author
  • Icon
  • Group: Administrators
  • Posts: 56
  • Joined: 17-January 10

Posted 20 January 2010 - 08:47 PM

There's a page containing the requirements at: http://fruml.com/dow...quirements.html
The gettext extension isn't listed there, I'll add it.

Any other modules missing? I'll add those too :)
0

#4 User is offline   stud_muffler Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 20-January 10
  • LocationUSA

Posted 20 January 2010 - 10:10 PM

Cool, I passed that step.
Now I'm simply getting 404 page not found.

My guess it's a mod_rewrite not working correctly on Windows. Is there a way to live without it?

8)
0

#5 User is online   Alex Icon

  • Author
  • Icon
  • Group: Administrators
  • Posts: 56
  • Joined: 17-January 10

Posted 20 January 2010 - 10:12 PM

Not yet, although it will eventually.
Do you have mod_rewrite installed and activated in httpd.conf?

0

#6 User is offline   stud_muffler Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 20-January 10
  • LocationUSA

Posted 20 January 2010 - 10:15 PM

Quote

Not yet, although it will eventually.
Do you have mod_rewrite installed and activated in httpd.conf?

Yes I do...
well this seems to work, at least I got a form...
http://vpc01/fruml/index.php?cmd=cms/auth/login


8)
0

#7 User is online   Alex Icon

  • Author
  • Icon
  • Group: Administrators
  • Posts: 56
  • Joined: 17-January 10

Posted 20 January 2010 - 10:16 PM

Yeah, those URLs will work in the admin, but the front-end only works with mod_rewrite.

Can you check the .htaccess? You may need to uncomment and update the RewriteBase rule to get them working.
0

#8 User is offline   stud_muffler Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 20-January 10
  • LocationUSA

Posted 21 January 2010 - 04:25 PM

Quote

Yeah, those URLs will work in the admin, but the front-end only works with mod_rewrite.

Can you check the .htaccess? You may need to uncomment and update the RewriteBase rule to get them working.

OK, here is what I did:
1. Added to httpd.conf:
<Directory "C:/www/fruml">
	Options Indexes FollowSymLinks
	AllowOverride All
	Order allow,deny
        Allow from all
</Directory>

2. in .htaccess uncommented RewriteBase and replaces /dev with /fruml

Now AdminCP is working, but site still 404
got an error:

Quote

Cache directory `page` not found in `C:/www/fruml/fruml/data/cache/` - please create this folder with write permissions for the webserver process before continuing.
.
I created it (Alex, you should add it to the list in the INSTALL file) and and had to clear cache and now I can see the site.

8)

0

#9 User is online   Alex Icon

  • Author
  • Icon
  • Group: Administrators
  • Posts: 56
  • Joined: 17-January 10

Posted 21 January 2010 - 08:17 PM

Ah, so the rewrite rules weren't being applied at all. It's good you changed the httpd.conf for the override. Usually it's already set correctly (on shared hosts etc) but not always.

The download/ install page lists all the directories, but the INSTALL file doesn't. I will update it!

Edit>>

Quote

(Alex, you should add it to the list in the INSTALL file)

Done!
0

#10 User is offline   stud_muffler Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 20-January 10
  • LocationUSA

Posted 21 January 2010 - 09:16 PM

Quote

Ah, so the rewrite rules weren't being applied at all. It's good you changed the httpd.conf for the override. Usually it's already set correctly (on shared hosts etc) but not always.

I'm using virtual environment for this, so all installs and configurations done manually.

8)
0

#11 User is offline   Corwin Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 24-February 10

Posted 24 February 2010 - 12:39 PM

I have 404 too, and 500 (Internal Server Error) when i use http://mydomain/frum...=cms/auth/login

.htaccess:

Options -Indexes
Options +FollowSymlinks All
SetEnv HTTP_F_URL On

<IfModule mod_rewrite.c>
	SetEnv HTTP_F_URL On
	RewriteEngine on
	RewriteBase /fruml
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^(.*)$ index.php?cmd=$1 [QSA,L]
</IfModule>

<IfModule mod_expires.c>
	SetEnv HTTP_EXPIRES On
	ExpiresActive On
	ExpiresByType image/gif A86400
	ExpiresByType image/png A86400
	#ExpiresByType application/x-javascript A86400
	#ExpiresByType application/javascript A86400
	#ExpiresByType text/css A86400
</IfModule>


... and php.ini

session.use_trans_sid = Off
zlib.output_compression = On
zlib.output_compression_level = 5
php_value upload_max_filesize 100M
php_value post_max_size 102M


What's wrong?
0

#12 User is online   Alex Icon

  • Author
  • Icon
  • Group: Administrators
  • Posts: 56
  • Joined: 17-January 10

Posted 24 February 2010 - 12:54 PM

Hi Corwin,

Try commenting out the line that says:

RewriteBase /fruml


That line is required on some setups, and causes errors on others :|
0

#13 User is offline   Corwin Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 24-February 10

Posted 24 February 2010 - 08:51 PM

Hello Alex,

I did what you told me, but next step is...

Fruml could not complete your last request

Constant LOCALE already defined
/home/aa7642/domains/blogotworca.pl/public_html/fruml/class/class.controller.php:22


Any idea what should i do?
0

#14 User is online   Alex Icon

  • Author
  • Icon
  • Group: Administrators
  • Posts: 56
  • Joined: 17-January 10

Posted 25 February 2010 - 12:42 AM

Hmm, go into fruml/data/config.inc.php and remove the line that says:

define('LOCALE', 'en_GB');

(I saw that line was still in the INSTALL file, I've just removed it)
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users