21
ghia
Re: MySql error
  • 2010/5/25 10:20

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


When mainfile.php is in G:\wamp\www\htdocs\mainfile.php and is looking for G:/wamp/www/include/common.php, while it should be probably G:/wamp/www/htdocs/include/common.php means that the definitions for the paths are still not yet correct.

22
chefry
Re: MySql error
  • 2010/5/25 12:58

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


ok, i moved the directories and files, now i just get a blank screen :(

I'm using MySql 5.0.86, php 5.2.11 and Apache 2.0.63

23
ghia
Re: MySql error
  • 2010/5/25 14:22

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Is your mainfile.php correct now?
Erase all the files in the cache directories (except index.html) and update the system module.

24
chefry
Re: MySql error
  • 2010/5/25 18:05

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


It's still not seeing the files

line 104 in mainfile.php reads include XOOPS_ROOT_PATH."/include/common.php";

Should it be "include XOOPS_ROOT_PATH."../include/common.php";"

25
ghia
Re: MySql error
  • 2010/5/25 23:48

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Why do you think that?

26
chefry
Re: MySql error
  • 2010/5/26 20:37

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


ok after doing a complete reinstall I can get the home page to show. but it shoes errors across the top of the page and the same error if I try to access another page

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in G:\wamp\www\include\common.php on line 96

Deprecated: Function set_magic_quotes_runtime() is deprecated in G:\wamp\www\include\common.php on line 30


I can log in and get into the admin section, but none of my WRAPS modules are appearing in the module list

I can get the smartsection menu, but when i click on an item, I get the same error as above on a blank screen

I'm using WAMP 2.0 with:
Apache 2.2.11
PHP 5.30
MySql 5.1.36

Does anyone know what changes to make to common.php?


27
chefry
Re: MySql error
  • 2010/5/27 19:20

  • chefry

  • Home away from home

  • Posts: 1005

  • Since: 2006/10/14


ok, on my WAMP local server I'm still getting the above errors

on the live server I fixed the problems with mainfile.php and set the directories to the correct permissions.

I have two problems

First, I found a file in my cache I've never seen before and I'm wondering where it belongs. adminmenu.php

Second, I'm getting a blank screen everywhere. home page and user.php. and there no errors in the server error log.

I cleared the cache, Templates_c, except the index.html files and cleared the sessions in the mysql table (sess_data)

In xoops_config I changed the value of debug mode from 0 to 1.

I get the error
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80 bytes) in /home/franksre/public_html/kernel/object.php on line 175

Can someone help me figure out what's going wrong now?

28
ghia
Re: MySql error
  • 2010/5/28 10:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
ok, on my WAMP local server I'm still getting the above errors
These are from PHP 5.3.0 and can be ignored.
Quote:
First, I found a file in my cache I've never seen before and I'm wondering where it belongs. adminmenu.php
This is created when you first time access the admin part of XOOPS.
Quote:
Second, I'm getting a blank screen everywhere. home page and user.php. and there no errors in the server error log.
But the access log will give probably a 500 code?
Quote:
I get the error
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 80 bytes) in /home/franksre/public_html/kernel/object.php on line 175
Can someone help me figure out what's going wrong now?
Some other people that reported this error did a check table and repair table in phpMyAdmin for all the tables and sessions in particular.
Others had their memory limit elevated from 12M, but yours seems adequate. Here on XOOPS.org, the site reports when editing this post:
Quote:
Included files: 209 files
Memory usage: 13 567 416 bytes

Login

Who's Online

258 user(s) are online (224 user(s) are browsing Support Forums)


Members: 0


Guests: 258


more...

Donat-O-Meter

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

Latest GitHub Commits