1
Discussion & Troubleshooting / Re: what kind of error is this?
« on: October 14, 2009, 06:09:04 PM »reupload unmodified admin/index.php
i just re upload every thing now its working fine
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
reupload unmodified admin/index.php
handsome,
it's difficult to say.... maybe *.php files are 403, maybe something else.. no idea... with your url we can starting nothing rightnow.
what are your access and error logs showing?
Now, upload your database backup that you have taken in your old 4image installation....
Upload can be done in phpMyAdmin...
Trust me, to convert .bmp into .png is much easier, quicker, better in every imaginable ways then add support for useless .bmp type of images.
Try this experiment: take one .bmp image write down the filesize, then compress it into .zip, write down the filesize of the .zip, then convert that .bmp into .png and compare filesize of .png with filesize of .zip, you'll see that these numbers are very close to each other then to .bmp filesize (depends on image complexity it could be be 2-100 times difference)
The conclusion: be kind to your site's visitors never ever use .bmp images directly on the web pages, it's not only wastes your server's bandwidth but also bandwidth and time of your visitors.
P.S.
You even can convert .bmp into .png or .jpg with MS Paint...
Actually, you can't repair sessions table via mysql manager, because it's HEAP type.
You'll need execute this MySQL query in your mysql manager (or ask your host administrator do it for you)Code: [Select]DROP TABLE IF EXISTS 4images_sessions;
CREATE TABLE 4images_sessions (
session_id varchar(32) NOT NULL default '',
session_user_id int(11) NOT NULL default '0',
session_lastaction int(11) unsigned NOT NULL default '0',
session_location varchar(255) NOT NULL default '',
session_ip varchar(15) NOT NULL default '',
PRIMARY KEY (session_id),
KEY session_user_id (session_user_id),
KEY session_id_ip_user_id (session_id,session_ip,session_user_id)
) TYPE=HEAP;
P.S.
Forum rules -> Type in a subject that summarizes your question
DB Error: Bad SQL Query: DELETE FROM 4images_sessions WHERE session_lastaction < 1231275448
Table './nokialov_imga4/4images_sessions' is marked as crashed and should be repaired
DB Error: Bad SQL Query: REPLACE INTO 4images_sessions (session_id, session_user_id, session_lastaction, session_location, session_ip) VALUES ('a1f07c38ca12056ce9087b376bef7389', -1, 1231276348, 'index.php', '116.71.167.6')
Table './nokialov_imga4/4images_sessions' is marked as crashed and should be repaired
Warning: Cannot modify header information - headers already sent by (output started at /home/nokialov/public_html/games/includes/db_mysql.php:190) in /home/nokialov/public_html/games/includes/sessions.php on line 133
Warning: Cannot modify header information - headers already sent by (output started at /home/nokialov/public_html/games/includes/db_mysql.php:190) in /home/nokialov/public_html/games/includes/sessions.php on line 133
DB Error: Bad SQL Query: SELECT s.session_user_id, s.session_lastaction, s.session_ip, u.user_id, u.user_level, u.user_name, u.user_invisible FROM 4images_sessions s LEFT JOIN 4images_users u ON (u.user_id = s.session_user_id) WHERE s.session_lastaction >= 1231276048 ORDER BY u.user_id ASC, s.session_ip ASC
Table './nokialov_imga4/4images_sessions' is marked as crashed and should be repaired