Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade ⇒ [solved] Problem with admin page after upgrade to 9.3


[solved] Problem with admin page after upgrade to 9.3
Issues that happen after DragonflyCMS upgrade/install.
DO NOT post module installation issues here!

Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Problems AFTER Install/Upgrade

View previous topic :: View next topic  
Author Message
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Thu Oct 06, 2011 4:53 am
Post subject: [solved] Problem with admin page after upgrade to 9.3

Hi,
I just found out about the 9.3 and decided to upgrade, it was pretty quick and easy but going to my admin menu at site-address/admin.php i get an error message
Code::
Fatal error: Call to a member function read() on a non-object in /home/xxxxxxxx/public_html/includes/classes/cpg_adminmenu.php on line 258

Please help.
Thanks


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
InspectorClueNo
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 26, 2008
Posts: 211

PostPosted: Thu Oct 06, 2011 5:29 am
Post subject: Re: Problem with admin page after upgrade to 9.3

Folder permission issues, accelerators, other caching system, zend 2 .... try to delete the folder admin/links and re-upload it again


InspectorClueNo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
none available
Back to top
View user's profile Visit poster's website
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Thu Oct 06, 2011 6:41 am
Post subject: Re: Problem with admin page after upgrade to 9.3

I did that and no change.
I went ahead to Chmod these directories to 700

- cache
- includes
- modules/coppermine/albums
- modules/coppermine/albums/userpics
- uploads/avatars
- uploads/forums

And this to 622
- cpg_error.log

Now i can only get into my admin panel and not the site.
I this error message when i go to my site without the admin.php extentension

Code::
Fatal error: Call to undefined function forumspro_check_installation() in /home/xxxxxxxxxxx/public_html/blocks/block-ForumsPro-scroll-Last_10_Posts.php on line 48

Any ideas please. I would appreciate more help.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Thu Oct 06, 2011 8:58 am
Post subject: Re: Problem with admin page after upgrade to 9.3

You are missing ForumsPro files, you can simply disable the block till you sort this out.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Thu Oct 06, 2011 11:32 am
Post subject: Re: Problem with admin page after upgrade to 9.3

I've noticed your chmod 700 and I presume you know exactly what you doing.

(s)ftp clients' defaults are normally set to 755, double check that your client settings match with your server setup.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Thu Oct 06, 2011 11:39 am
Post subject: Re: Problem with admin page after upgrade to 9.3

Can you please explain what you mean by server setup and client settings?
Thanks


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Thu Oct 06, 2011 11:42 am
Post subject: Re: Problem with admin page after upgrade to 9.3

Which CHMOD 700 are you talking about.
Please explain.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Thu Oct 06, 2011 12:11 pm
Post subject: Re: Problem with admin page after upgrade to 9.3

If you are uploading files with a ftp client then:

1. Create an empty .php file on your local computer and insert the following code:
PHP:
<?php
$uname
= get_current_user();
$powner = posix_geteuid();
$powner = posix_getpwuid($powner);
$powner = $powner['name'];

$fowner = fileowner(__FILE__);
$fowner = posix_getpwuid($fowner);
$fowner = $fowner['name'];
echo
"<pre>
UName: $uname
POwner: $powner
FOwner: $fowner
</pre>"
;

2. save the file and upload inside your public_html
3. visit the file using your browser and reply quoting the results

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Thu Oct 06, 2011 5:55 pm
Post subject: Re: Problem with admin page after upgrade to 9.3

UName: same
POwner: same
FOwner: same


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Fri Oct 07, 2011 12:15 am
Post subject: Re: Problem with admin page after upgrade to 9.3

Thanks, thats a start.

Was the file you uploaded created with 655, 644 or 600?
ClueNo was close, but the issue is in modules folder.

In your case a 666 on files and 777 on folders can get the server to refuse opening a file.

Other servers with similar setups will also refuse to open 644s and 755s

So you need to basically try 644s and 755s first, 600s and 700s if still not luck.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Fri Oct 07, 2011 12:34 am
Post subject: Re: Problem with admin page after upgrade to 9.3

I simply created and uploaded to the server. In my server i checked the permissions and it was in 644.

What folder, directories or files do i need to CHMOD?
Thanks.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Fri Oct 07, 2011 2:01 am
Post subject: Re: Problem with admin page after upgrade to 9.3

I would need to know whats the state of your website now, does it work and if so which pages.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Fri Oct 07, 2011 4:28 am
Post subject: Re: Problem with admin page after upgrade to 9.3

My website is still not working.When you visit the link, all you get is a white blank page. But i can log into the admin panel via admin.php.
Thats the current situation.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Fri Oct 07, 2011 5:41 am
Post subject: Re: Problem with admin page after upgrade to 9.3

I see no links to click, -removed-

From what I can understand you use tools which you have no idea what they do, are, works and so on, stop doing that.

You did chmod folders, and maybe descendent's files and folders using with a very strict value, 700, without any knowledge at all. I'm not even sure what else you may have done.

I'll make support easy for you helping you step by step, but you need to do things ONLY when you know the consequences of your actions. Otherwise ask before you try.

-removed-

First of all everything you changed to 700, needs to go back to its original value. Do that and come back.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Fri Oct 07, 2011 6:17 am
Post subject: Re: Problem with admin page after upgrade to 9.3

Thank you for your help, i will adhere to your advice henceforth.
I CHMOD the following, and those are the only ones i touched. Please i would appreciate if you bring my attention to something i am overlooking and thanks for your patience and offer to help.

- cache
- includes
- modules/coppermine/albums
- modules/coppermine/albums/userpics
- uploads/avatars
- uploads/forums

And this to 622
- cpg_error.log

As the instructions said after installation. Or maybe i misunderstood the instructions. Can i ask a question?
If an instruction says CHMOD the following directory to 755

- modules/coppermine/albums/userpics

Am i supposed to chmod the modules, coppermine, albums and userpics folders to 755 or just the userpics folder?

The folders/directories i listed above are all 755 except for the cpg_error.log which is 622.
Please do not hesitate to bring my attention to anything am leaving out.
If i changed any of the folders to a wrong permission settings pls let me know what to revert back.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Problems AFTER Install/Upgrade
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


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
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

อ่านต่อ...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy